Group the main menu into role-aware popover groups

Replace the flat link row with disclosure groups (Työt, Oma kirjaus,
Asiakkaat ja myynti, Hallinto, Ylläpito) built by App\View\MainMenu from
Gate abilities, and add menu links for new job, quick sales list and
workflow templates.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-24 19:14:11 +02:00
co-authored by Claude Sonnet 5.5
parent 18598cc08e
commit 48030e7689
10 changed files with 283 additions and 64 deletions
+11 -1
View File
@@ -9,7 +9,7 @@ return [
'board' => 'Kanban',
'calendar' => 'Kalenteri',
'time' => 'Tuntikirjaus',
'approvals' => 'Hyväksyntä',
'approvals' => 'Tuntien hyväksyntä',
'expenses' => 'Kulut',
'quick_sale' => 'Pikamyynti',
'billing' => 'Laskutus',
@@ -23,4 +23,14 @@ return [
'logout' => 'Kirjaudu ulos',
'theme_toggle' => 'Tumma teema',
'cancel' => 'Peruuta',
'group_work' => 'Työt',
'group_own' => 'Oma kirjaus',
'group_sales' => 'Asiakkaat ja myynti',
'group_admin' => 'Hallinto',
'group_maintenance' => 'Ylläpito',
'new_job' => 'Uusi työ',
'sales_list' => 'Pikamyynnit ja kassapäivät',
'workflow_templates' => 'Työnkulkupohjat',
'price_list_admin' => 'Hinnaston ylläpito',
'current_section' => '(nykyinen osio)',
];