Implementa regras de investimento por empresa com dupla aprovacao

This commit is contained in:
2026-10-28 16:57:45 +02:00
parent 153ba2c1af
commit 95dd2cc1ed
37 changed files with 1418 additions and 28 deletions
+14
View File
@@ -44,6 +44,15 @@ export function AppSidebar() {
].includes(auth.user.purchasing_role ?? '');
const purchasingItems: NavItem[] = [
{ title: 'Requisições', href: '/requisicoes', icon: ClipboardList },
...(auth.user.purchasing_role === 'procurement'
? [
{
title: 'Regras de investimento',
href: '/regras-investimento',
icon: FileCheck2,
},
]
: []),
...(canReadPurchases
? [
{ title: 'Fornecedores', href: '/fornecedores', icon: Users },
@@ -136,6 +145,11 @@ export function AppSidebar() {
href: '/orcamentos',
icon: FileCheck2,
},
{
title: 'Regras de investimento',
href: '/regras-investimento',
icon: FileCheck2,
},
{
title: 'Facturas',
href: '/facturas',