Refactor commerce module
This commit is contained in:
@@ -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' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user