commit compras5 2911
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-29 19:49:19 +02:00
parent a935499d64
commit 96b30368bc
96 changed files with 3397 additions and 111 deletions
@@ -677,6 +677,15 @@ export function activeProcurementEntry(
url: string,
): string | undefined {
const current = new URL(url, 'http://local');
if (
/^\/afectacoes-fornecedores\/\d+\/imputacao(?:\/|$)/.test(
current.pathname,
) &&
groups.some((group) =>
group.entries.some((entry) => entry.id === 'supplier_settlements'),
)
)
return 'supplier_settlements';
if (
(current.pathname === '/compras/acordos/vigencia' ||
(current.pathname === '/compras/fornecimento' &&