Add Pending Payment tab and rebrand to TeleShop Admin

- Added new 'Pending Payment' tab to show orders awaiting payment (4 orders)
- Rebranded admin panel from 'LittleShop Admin' to 'TeleShop Admin'
- Updated login page, layout, and dashboard with new branding
- Fixed visibility issue where PendingPayment orders had no tab
- All 13 orders are now visible across appropriate tabs

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-24 15:55:15 +01:00
parent 10cd2ac7a1
commit 6e3c11ad75
248 changed files with 116667 additions and 7 deletions

View File

@@ -22,6 +22,10 @@ public class OrdersController : Controller
switch (tab.ToLower())
{
case "pending":
ViewData["Orders"] = await _orderService.GetOrdersByStatusAsync(LittleShop.Enums.OrderStatus.PendingPayment);
ViewData["TabTitle"] = "Pending Payment";
break;
case "accept":
ViewData["Orders"] = await _orderService.GetOrdersRequiringActionAsync();
ViewData["TabTitle"] = "Orders to Accept";
@@ -53,6 +57,7 @@ public class OrdersController : Controller
}
// Get workflow counts for tab badges
ViewData["PendingCount"] = (await _orderService.GetOrdersByStatusAsync(LittleShop.Enums.OrderStatus.PendingPayment)).Count();
ViewData["AcceptCount"] = (await _orderService.GetOrdersRequiringActionAsync()).Count();
ViewData["PackingCount"] = (await _orderService.GetOrdersForPackingAsync()).Count();
ViewData["DispatchedCount"] = (await _orderService.GetOrdersByStatusAsync(LittleShop.Enums.OrderStatus.Dispatched)).Count();