feat: add Clients page with order history

Groups orders by phone into a client list with expandable rows showing per-order history, summary cards for total clients and closed revenue, and a Clients nav item in the sidebar.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-10 16:26:50 +03:00
parent 643fc62ddc
commit 8dae7f5d3b
4 changed files with 282 additions and 1 deletions
+2
View File
@@ -18,6 +18,7 @@ const AnalyticsDashboard = React.lazy(() => import('./admin/analytics/AnalyticsD
const CompletedOrdersTable = React.lazy(() => import('./admin/analytics/CompletedOrdersTable'));
const UserManagementPage = React.lazy(() => import('./admin/users/UserManagementPage'));
const SettingsPage = React.lazy(() => import('./admin/settings/SettingsPage'));
const ClientsPage = React.lazy(() => import('./admin/clients/ClientsPage'));
function PublicSite() {
return (
@@ -52,6 +53,7 @@ function App() {
<Route path="completed" element={<CompletedOrdersTable />} />
<Route path="users" element={<UserManagementPage />} />
<Route path="settings" element={<SettingsPage />} />
<Route path="clients" element={<ClientsPage />} />
</Route>
</Route>
</Routes>