diff --git a/src/App.tsx b/src/App.tsx index 77e2ada..1cd1eac 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -76,8 +76,12 @@ const IPGListPage = lazy(() => import('./pages/payment-ipg/ipg-list/IPGListPage' // Payment Card Page const CardFormPage = lazy(() => import('./pages/payment-card/card-form/CardFormPage')); -// Wallet Page +// Wallet Pages const WalletListPage = lazy(() => import('./pages/wallet/wallet-list/WalletListPage')); +const WalletCreditPage = lazy(() => import('./pages/wallet/wallet-credit/WalletCreditPage')); + +// System Settings Page +const SystemSettingsPage = lazy(() => import('./pages/system-settings/SystemSettingsPage')); // Reports Pages const DiscountUsageReportPage = lazy(() => import('./pages/reports/discount-statistics/discount-usage-report/DiscountUsageReportPage')); @@ -85,6 +89,21 @@ const CustomerDiscountUsagePage = lazy(() => import('./pages/reports/discount-st const PaymentMethodsReportPage = lazy(() => import('./pages/reports/payment-statistics/payment-methods-report/PaymentMethodsReportPage')); const ShipmentsByMethodReportPage = lazy(() => import('./pages/reports/shipment-statistics/shipments-by-method-report/ShipmentsByMethodReportPage')); +// Sales Summary Report Page +const SalesSummaryReportPage = lazy(() => import('./pages/reports/sales-summary/sales-summary-report/SalesSummaryReportPage')); + +// Profit Loss Report Page +const ProfitLossReportPage = lazy(() => import('./pages/reports/profit-loss/profit-loss-report/ProfitLossReportPage')); + +// Inventory Value Report Page +const InventoryValueReportPage = lazy(() => import('./pages/reports/inventory-value/inventory-value-report/InventoryValueReportPage')); + +// Variant Comparison Report Page +const VariantComparisonReportPage = lazy(() => import('./pages/reports/variant-comparison/variant-comparison-report/VariantComparisonReportPage')); + +// Admin Notifications Page +const AdminNotificationsListPage = lazy(() => import('./pages/admin-notifications/notifications-list/AdminNotificationsListPage')); + // Product Comments Page const ProductCommentsListPage = lazy(() => import('./pages/products/comments/comments-list/ProductCommentsListPage')); @@ -185,14 +204,25 @@ const AppRoutes = () => { {/* Payment Card Route */} } /> - {/* Wallet Route */} + {/* Wallet Routes */} } /> + } /> + + {/* System Settings Route */} + } /> {/* Reports Routes */} } /> } /> } /> } /> + } /> + } /> + } /> + } /> + + {/* Admin Notifications Route */} + } /> ); diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index c9affa3..f13a172 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -1,4 +1,4 @@ -import { Menu, Sun, Moon, Bell, User, LogOut } from 'lucide-react'; +import { Menu, Sun, Moon, User, LogOut } from 'lucide-react'; import { useState } from 'react'; import { useAuth } from '../../contexts/AuthContext'; import { useTheme } from '../../contexts/ThemeContext'; @@ -38,11 +38,6 @@ export const Header = ({ onMenuClick }: HeaderProps) => { )} - -
- {/* Navigation */} -