feat: complete equipment handover workflow

This commit is contained in:
2026-08-04 17:15:51 +01:00
parent 809eab9d4a
commit d829f34580
24 changed files with 1800 additions and 28 deletions

View File

@@ -6,6 +6,7 @@ import {
LayoutGrid,
ListChecks,
PackageSearch,
PackageCheck,
PlusCircle,
ServerCog,
ShieldCheck,
@@ -71,16 +72,26 @@ export function AppSidebar() {
},
]
: userNavItems;
const visibleNavItems = can.administer
const operationalNavItems = can.operateInventory
? [
...roleNavItems,
{
title: 'Operações',
href: '/operacoes',
icon: PackageCheck,
},
]
: roleNavItems;
const visibleNavItems = can.administer
? [
...operationalNavItems,
{
title: 'Integração Snipe-IT',
href: '/administracao/snipe-it',
icon: ServerCog,
},
]
: roleNavItems;
: operationalNavItems;
return (
<Sidebar collapsible="icon" variant="inset">