From 5911860a1751f9ed08f0664072b8d21d02d33180 Mon Sep 17 00:00:00 2001 From: NotII <46204250+NotII@users.noreply.github.com> Date: Wed, 2 Apr 2025 21:11:01 +0100 Subject: [PATCH] Update page.tsx --- app/dashboard/storefront/customers/page.tsx | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/dashboard/storefront/customers/page.tsx b/app/dashboard/storefront/customers/page.tsx index 228761d..e759651 100644 --- a/app/dashboard/storefront/customers/page.tsx +++ b/app/dashboard/storefront/customers/page.tsx @@ -259,35 +259,35 @@ export default function CustomerManagementPage() { - Customer + Customer handleSort("totalOrders")} > -
+
Orders
handleSort("totalSpent")} > -
+
Total Spent
handleSort("lastOrderDate")} > -
+
Last Order
- Status + Status @@ -309,18 +309,18 @@ export default function CustomerManagementPage() {
ID: {customer.telegramUserId}
- + {customer.totalOrders} - + {formatCurrency(customer.totalSpent)} - + {customer.lastOrderDate ? formatDate(customer.lastOrderDate) : "N/A"} - + {customer.hasOrders ? ( -
+
{customer.ordersByStatus.paid} Paid