Refactor commerce module

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 02:20:04 +00:00
parent 6652cc60da
commit 1b9edcd0a5
12 changed files with 995 additions and 1 deletions

View File

@@ -160,7 +160,24 @@ const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
{ icon: Shield, label: 'Security', path: '/dashboard/security' },
{ icon: Car, label: 'Vehicle Management', path: '/dashboard/vehicle-management' },
{ icon: Leaf, label: 'Sustainability', path: '/dashboard/sustainability' },
{ icon: Store, label: 'Comercios', path: '/dashboard/establishments' },
{
icon: Store,
label: 'Comercios',
path: '/dashboard/commerce',
subItems: [
{ icon: Store, label: 'Establecimientos', path: '/dashboard/commerce/establishments' },
{ icon: CreditCard, label: 'POS Terminal', path: '/dashboard/commerce/pos' },
{ icon: Receipt, label: 'Pedidos', path: '/dashboard/commerce/orders' },
{ icon: UtensilsCrossed, label: 'Menú', path: '/dashboard/commerce/menu' },
{ icon: Grid3x3, label: 'Mesas', path: '/dashboard/commerce/tables' },
{ icon: Hotel, label: 'Hotel', path: '/dashboard/commerce/hotel' },
{ icon: BookOpen, label: 'Reservaciones', path: '/dashboard/commerce/reservations' },
{ icon: Package, label: 'Inventario', path: '/dashboard/commerce/inventory' },
{ icon: Users, label: 'Personal', path: '/dashboard/commerce/staff' },
{ icon: BarChart3, label: 'Reportes', path: '/dashboard/commerce/reports' },
{ icon: DollarSign, label: 'Ventas', path: '/dashboard/commerce/sales' }
]
},
{ icon: Wallet, label: 'Wallet', path: '/dashboard/wallet' },
{ icon: MessageSquare, label: 'Message', path: '/dashboard/messages', badge: '2' },
];