feat(warehouse): add sidebar entry and routes

This commit is contained in:
BOHA
2026-05-29 14:21:35 +02:00
parent 86bebf9776
commit e846f15126
2 changed files with 115 additions and 1 deletions

View File

@@ -330,6 +330,26 @@ const menuSections: MenuSection[] = [
</svg>
),
},
{
path: "/warehouse",
label: "Sklad",
permission: "warehouse.view",
matchPrefix: "/warehouse",
icon: (
<svg
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
>
<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" />
<polyline points="3.27 6.96 12 12.01 20.73 6.96" />
<line x1="12" y1="22.08" x2="12" y2="12" />
</svg>
),
},
],
},
{