Implementa regras de investimento por empresa com dupla aprovacao
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user