commit5
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-29 22:03:09 +02:00
parent 57f6b3cc36
commit 413c201d97
54 changed files with 2753 additions and 14 deletions
+4 -1
View File
@@ -35,7 +35,7 @@ const generalNavItems: NavItem[] = [
];
export function AppSidebar() {
const { auth } = usePage().props;
const { auth, payablesAvailable } = usePage().props;
const canReadPurchases = [
'admin',
'procurement',
@@ -155,6 +155,9 @@ export function AppSidebar() {
href: '/facturas',
icon: FileCheck2,
},
...(payablesAvailable === true
? [{title: 'Obrigações a fornecedores', href: '/obrigacoes-fornecedores', icon: FileCheck2, fullPage: true}]
: []),
{
title: 'Pagamentos externos',
href: '/pagamentos',