Add improved production UI 3
This commit is contained in:
@@ -61,6 +61,7 @@ export const ROUTES = {
|
||||
PRODUCTION_SCHEDULE: '/production/schedule',
|
||||
PRODUCTION_QUALITY: '/production/quality',
|
||||
PRODUCTION_REPORTS: '/production/reports',
|
||||
PRODUCTION_ANALYTICS: '/app/analytics/production',
|
||||
|
||||
// Sales & Analytics
|
||||
SALES: '/sales',
|
||||
@@ -310,6 +311,16 @@ export const routesConfig: RouteConfig[] = [
|
||||
showInNavigation: true,
|
||||
showInBreadcrumbs: true,
|
||||
},
|
||||
{
|
||||
path: '/app/database/maquinaria',
|
||||
name: 'Maquinaria',
|
||||
component: 'MaquinariaPage',
|
||||
title: 'Maquinaria',
|
||||
icon: 'production',
|
||||
requiresAuth: true,
|
||||
showInNavigation: true,
|
||||
showInBreadcrumbs: true,
|
||||
},
|
||||
{
|
||||
path: '/app/database/bakery-config',
|
||||
name: 'BakeryConfig',
|
||||
@@ -350,13 +361,25 @@ export const routesConfig: RouteConfig[] = [
|
||||
path: '/app/analytics',
|
||||
name: 'Analytics',
|
||||
component: 'AnalyticsPage',
|
||||
title: 'Analytics',
|
||||
title: 'Análisis',
|
||||
icon: 'sales',
|
||||
requiresAuth: true,
|
||||
requiredRoles: ROLE_COMBINATIONS.MANAGEMENT_ACCESS,
|
||||
requiredAnalyticsLevel: 'basic',
|
||||
showInNavigation: true,
|
||||
children: [
|
||||
{
|
||||
path: '/app/analytics/production',
|
||||
name: 'ProductionAnalytics',
|
||||
component: 'ProductionAnalyticsPage',
|
||||
title: 'Análisis de Producción',
|
||||
icon: 'production',
|
||||
requiresAuth: true,
|
||||
requiredRoles: ROLE_COMBINATIONS.MANAGEMENT_ACCESS,
|
||||
requiredAnalyticsLevel: 'advanced',
|
||||
showInNavigation: true,
|
||||
showInBreadcrumbs: true,
|
||||
},
|
||||
{
|
||||
path: '/app/analytics/forecasting',
|
||||
name: 'Forecasting',
|
||||
|
||||
Reference in New Issue
Block a user