refactor: move reports menu item from main to administration section

This commit is contained in:
2025-12-03 01:54:24 +01:00
parent 4a5f426f73
commit 6666d1ddec
3 changed files with 22 additions and 1 deletions

View File

@@ -91,7 +91,6 @@ export default function Sidebar({ onClose }: { onClose?: () => void }) {
{ id: 'location', label: t('menu.location'), icon: <PlaceIcon />, path: '/location' },
{ id: 'articles', label: t('menu.articles'), icon: <InventoryIcon />, path: '/articoli' },
{ id: 'resources', label: t('menu.resources'), icon: <PersonIcon />, path: '/risorse' },
{ id: 'reports', label: t('menu.reports'), icon: <PrintIcon />, path: '/report-templates' },
],
},
{
@@ -149,6 +148,7 @@ export default function Sidebar({ onClose }: { onClose?: () => void }) {
{ id: 'modules', label: t('menu.modules'), icon: <ModulesIcon />, path: '/modules' },
{ id: 'autocodes', label: t('menu.autoCodes'), icon: <AutoCodeIcon />, path: '/admin/auto-codes' },
{ id: 'customfields', label: t('menu.customFields'), icon: <AutoCodeIcon />, path: '/admin/custom-fields' },
{ id: 'reports', label: t('menu.reports'), icon: <PrintIcon />, path: '/report-templates' },
],
},
];