Refactor commissions to Admin Panel

This commit is contained in:
gpt-engineer-app[bot]
2025-10-11 16:08:19 +00:00
parent d8e03978e1
commit b22adcbf34

View File

@@ -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'),