Refactor commissions to Admin Panel
This commit is contained in:
@@ -118,6 +118,16 @@ const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
},
|
||||
{ icon: AlertTriangle, label: 'Emergencias', path: '/dashboard/admin?tab=emergency' },
|
||||
{ icon: MessageSquare, label: 'Soporte', path: '/dashboard/admin?tab=support' },
|
||||
{
|
||||
icon: DollarSign,
|
||||
label: 'Comisiones',
|
||||
path: '/dashboard/commissions',
|
||||
subItems: [
|
||||
{ icon: BarChart3, label: 'Dashboard', path: '/dashboard/commissions/dashboard' },
|
||||
{ icon: Settings, label: 'Reglas', path: '/dashboard/commissions/rules' },
|
||||
{ icon: FileText, label: 'Historial', path: '/dashboard/commissions/payments' }
|
||||
]
|
||||
},
|
||||
{
|
||||
icon: Settings,
|
||||
label: 'Configuración',
|
||||
@@ -197,16 +207,6 @@ const DashboardLayout = ({ children }: { children: React.ReactNode }) => {
|
||||
{ icon: BookOpen, label: 'Biblioteca', path: '/dashboard/guides/library' }
|
||||
]
|
||||
},
|
||||
{
|
||||
icon: DollarSign,
|
||||
label: 'Comisiones',
|
||||
path: '/dashboard/commissions',
|
||||
subItems: [
|
||||
{ icon: BarChart3, label: 'Dashboard', path: '/dashboard/commissions/dashboard' },
|
||||
{ icon: Settings, label: 'Reglas', path: '/dashboard/commissions/rules' },
|
||||
{ icon: FileText, label: 'Historial', path: '/dashboard/commissions/payments' }
|
||||
]
|
||||
},
|
||||
{
|
||||
icon: Store,
|
||||
label: t('commerce'),
|
||||
|
||||
Reference in New Issue
Block a user