commit13
This commit is contained in:
@@ -73,6 +73,11 @@ export function procurementNavigation(
|
||||
path: '/requisicoes?view=approvals',
|
||||
roles: readers,
|
||||
},
|
||||
{
|
||||
id: 'workflow_notices',
|
||||
label: 'Avisos de aprovação',
|
||||
path: '/requisicoes/avisos',
|
||||
},
|
||||
{
|
||||
id: 'decisions',
|
||||
label: 'Minhas decisões',
|
||||
@@ -103,6 +108,68 @@ export function procurementNavigation(
|
||||
label: 'Revisão e cancelamento',
|
||||
path: '/revisao-compras',
|
||||
},
|
||||
{
|
||||
id: 'supply_agreements',
|
||||
label: 'Fornecimento habitual',
|
||||
path: '/compras/fornecimento?view=agreements',
|
||||
roles: [
|
||||
'admin',
|
||||
'supply_read',
|
||||
'supply_prepare',
|
||||
'supply_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'supply_calendar',
|
||||
label: 'Reposição e calendário',
|
||||
path: '/compras/fornecimento?view=calendar',
|
||||
roles: [
|
||||
'admin',
|
||||
'supply_read',
|
||||
'supply_prepare',
|
||||
'supply_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'supply_suggestions',
|
||||
label: 'Sugestões de reposição',
|
||||
path: '/compras/fornecimento?view=suggestions',
|
||||
roles: [
|
||||
'admin',
|
||||
'supply_read',
|
||||
'supply_suggest_prepare',
|
||||
'supply_suggest_review',
|
||||
'supply_suggest_convert',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'supply_imports',
|
||||
label: 'Importações',
|
||||
path: '/compras/fornecimento?view=imports',
|
||||
roles: [
|
||||
'admin',
|
||||
'import_read',
|
||||
'import_prepare',
|
||||
'import_customs',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'supply_alternatives',
|
||||
label: 'Alternativas técnicas',
|
||||
path: '/compras/fornecimento?view=alternatives',
|
||||
roles: [
|
||||
'admin',
|
||||
'supply_read',
|
||||
'supply_technical_prepare',
|
||||
'supply_technical_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'supply_deliveries',
|
||||
label: 'Entregas confirmadas',
|
||||
path: '/compras/fornecimento?view=deliveries',
|
||||
roles: ['admin', 'supply_read', 'supply_delivery'],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -173,6 +240,18 @@ export function procurementNavigation(
|
||||
'people_staff_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'people_reports',
|
||||
label: 'Relatórios de pessoas e contratações',
|
||||
path: '/pessoas/relatorios',
|
||||
roles: [
|
||||
'admin',
|
||||
'people_service_prepare',
|
||||
'people_service_review',
|
||||
'people_staff_prepare',
|
||||
'people_staff_review',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -186,17 +265,98 @@ export function procurementNavigation(
|
||||
path: '/recepcoes',
|
||||
roles: inventory,
|
||||
},
|
||||
{
|
||||
id: 'supply_reservations',
|
||||
label: 'Reservas de necessidades',
|
||||
path: '/compras/fornecimento?view=reservations',
|
||||
roles: ['admin', 'supply_read', 'supply_reserve'],
|
||||
},
|
||||
{
|
||||
id: 'supply_history',
|
||||
label: 'Histórico de consumo',
|
||||
path: '/compras/fornecimento?view=history',
|
||||
roles: [
|
||||
'admin',
|
||||
'supply_read',
|
||||
'supply_history_prepare',
|
||||
'supply_history_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'warehouse_availability',
|
||||
label: 'Disponibilidade para requisições',
|
||||
path: '/stock/disponibilidade',
|
||||
roles: [
|
||||
'admin',
|
||||
'warehouse',
|
||||
'procurement',
|
||||
'finance',
|
||||
'warehouse_availability_read',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'warehouse_replenishment',
|
||||
label: 'Reposição automática',
|
||||
path: '/stock/reposicao',
|
||||
roles: ['admin', 'supply_read', 'supply_prepare', 'supply_review'],
|
||||
},
|
||||
{
|
||||
id: 'warehouse_requests',
|
||||
label: 'Requisições ao armazém',
|
||||
path: '/stock/requisicoes',
|
||||
roles: [
|
||||
'admin',
|
||||
'warehouse_request_read',
|
||||
'warehouse_request_prepare',
|
||||
'warehouse_request_review',
|
||||
'warehouse_request_deliver',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'inventory_lots',
|
||||
label: 'Lotes, validade e quarentena',
|
||||
path: '/stock/lotes',
|
||||
roles: [
|
||||
'admin',
|
||||
'inventory_lot_read',
|
||||
'inventory_lot_prepare',
|
||||
'inventory_lot_review',
|
||||
'inventory_lot_hold',
|
||||
'inventory_lot_release',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'stock',
|
||||
label: 'Artigos e stock',
|
||||
path: '/stock',
|
||||
roles: ['admin', 'procurement', 'finance', 'warehouse'],
|
||||
},
|
||||
{
|
||||
id: 'inventory_dispositions',
|
||||
label: 'Devoluções e correcções',
|
||||
path: '/stock/ocorrencias',
|
||||
roles: [
|
||||
'admin',
|
||||
'warehouse',
|
||||
'inventory_disposition_read',
|
||||
'inventory_disposition_prepare',
|
||||
'inventory_disposition_review',
|
||||
'inventory_reversal_read',
|
||||
'inventory_reversal_prepare',
|
||||
'inventory_reversal_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'stock_operations',
|
||||
label: 'Saídas e inventários',
|
||||
path: '/stock/operacoes',
|
||||
roles: ['admin', 'procurement', 'finance', 'warehouse'],
|
||||
roles: [
|
||||
'admin',
|
||||
'procurement',
|
||||
'finance',
|
||||
'warehouse',
|
||||
'inventory_adjust_review',
|
||||
],
|
||||
},
|
||||
{
|
||||
id: 'equipment',
|
||||
|
||||
Reference in New Issue
Block a user