<?php

return [
    'Productos' => [
        'icon' => 'fa-book-reader txt-color-white',
		'subitems' => [
            'Familia' => [
                'icon' => 'fas fa-map txt-color-white',
                'perm_name' => 'Subfamilias_ver',
                'link' => 'familias',
            ],
            'Subfamilia' => [
               'icon' => 'fas fa-map-marked-alt txt-color-white',
               'perm_name' => 'Subfamilias_ver',
               'link' => 'subfamilias',
            ],
            'SubSubfamilia' => [
               'icon' => 'fas fa-map-marked-alt txt-color-white',
               'perm_name' => 'subSubfamilias_ver',
               'link' => 'subsubfamilias',
            ],
            /*
            'Importar archivos' => [
                'icon' => 'fa-barcode txt-color-white',
                'subitems' => [
                    'Productos' => [
                        'icon' => 'fa-barcode txt-color-white',
                        'perm_name' => 'productos_ver',
                        'link' => 'importar/1',
                    ], 
                ], 
            ],*/
            'Maestro Productos' => [
               'icon' => 'fa-barcode txt-color-white',
               'subitems' => [
                   'Materias Primas' => [
                       'icon' => 'fa-barcode txt-color-white',
                       'perm_name' => 'productos_ver',
                       'link' => 'productos/2',
                   ], 
                   'Productos a Granel' => [
                       'icon' => 'fa-barcode txt-color-white',
                       'perm_name' => 'productos_ver',
                       'link' => 'productos/7',
                    ],
                    'Envases' => [
                        'icon' => 'fa-barcode txt-color-white',
                        'perm_name' => 'productos_ver',
                        'link' => 'productos/3',
                    ], 
                    'Prod. /Envasados' => [
                        'icon' => 'fa-barcode txt-color-white',
                        'perm_name' => 'productos_ver',
                        'link' => 'productos/1',
                    ], 
                ],
            ],

            'Mantenedor Envases' => [
                'icon' => 'fa-dropbox txt-color-orangeDark',
                'perm_name' => 'envases_ver',
                'link' => 'envases',
            ],
        ],
    ],
    'Bodega' => [
        'icon' => 'fa-book-reader txt-color-white',
		'subitems' => [
            'Ingreso Mercadería' => [
               'icon' => 'fa-cart-arrow-down txt-color-blue',
               'perm_name' => 'ingresos_ver',
               'link' => 'ingresos',
            ],
            'Ajustes' => [
                'icon' => 'fa-book-reader txt-color-white',
                'subitems' => [
                     'Salida' => [
                         'icon' => 'fa-cart-arrow-down txt-color-blue',
                         'perm_name' => 'ajustesalida_ver',
                         'link' => 'ajustesalida',
                     ], 
                     'Entradas' => [
                         'icon' => 'fa-cart-arrow-down txt-color-blue',
                         'perm_name' => 'ajusteentrada_ver',
                         'link' => 'ajusteentrada',
                     ],
                ],
            ],
            'Imprimir Etiquetas' => [
                'icon' => 'fa-book-reader txt-color-white',
                'subitems' => [
                    'Materias Primas' => [
                        'icon' => 'fa-cart-arrow-down txt-color-blue',
                        'perm_name' => 'etiquetas_ver',
                        'link' => 'etiquetas/1',
                    ],
                    'Granel' => [
                        'icon' => 'fa-cart-arrow-down txt-color-blue',
                        'perm_name' => 'etiquetas_ver',
                        'link' => 'etiquetas/2',
                    ],
                ],
            ],
            'Stock' => [
               'icon' => 'fa-cart-arrow-down txt-color-blue',
               'perm_name' => 'stock_ver',
               'link' => 'stock',
            ],
        ],
    ],
    'Laboratorio' => [
        'icon' => 'fa-book-reader txt-color-white',
		'subitems' => [
            'Fórmulas' => [
                'icon' => 'fa-flask txt-color-red',
                'perm_name' => 'formulas_ver',
                'link' => 'formulas',
            ],
            'Planificador' => [
                'icon' => 'fa-calendar txt-color-yellow',
                'perm_name' => 'planificador_ver',
                'link' => 'planificador',
            ],
            'Fabricación' => [
                'icon' => 'fa-book-reader txt-color-white',
                'subitems' => [
                     'Fabricar' => [
                         'perm_name' => 'fabricacion_ver',
                         'link' => 'fabricacion',
                     ],
                     'Control de Calidad' => [
                         'perm_name' => 'calidad_ver',
                         'link' => 'calidad',
                     ],
                     'Envasado' => [
                        'perm_name' => 'envasado_ver',
                        'link' => 'envasado',
                     ],
                     'Emitir Guia' => [
                        'perm_name' => 'emitirguias_ver',
                        'link' => 'emitirguias',
                     ],
                 ],
            ],
            'Trazabilidad' => [
                'perm_name' => 'trazabilidad_ver',
                'link' => 'trazabilidad',
            ],
        ],
     ],
     'Ventas' => [
         'icon' => 'fa-book-reader txt-color-white',
         'subitems' => [
            'Nota de Ventas' => [
                 'icon' => 'fa-flask txt-color-red',
                 'perm_name' => 'notasventas_ver',
                 'link' => 'notasventas',
            ],
            'Guía de Despacho' => [
                'icon' => 'fa-cart-arrow-down txt-color-blue',
                'perm_name' => 'guiadespacho_ver',
                'link' => 'guiadespacho',
            ], 
         ],
      ],
      'Reportes' => [
        'icon' => 'fa-book-reader txt-color-white',   
        'subitems' => [
            'Planificador' => [
                'icon' => 'fa-flask txt-color-red',
                'perm_name' => 'reposicion_ver',
                'link' => 'reposicion',
            ],
        ],
     ],

     'Usuarios' => [
        'icon' => 'fa-user txt-color-white',
        'perm_name' => 'usuarios_ver',
        'link' => 'usuarios',
     ]
];