From e166248c0d31d2e1e3db6ce45a05fc4893a70361 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Fri, 8 May 2026 19:25:07 +0200 Subject: [PATCH] Mitarbeiternavigation neu gruppiert --- frontend/components/MainNav.vue | 20 ++++++++++---------- frontend/pages/settings/tenant.vue | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/components/MainNav.vue b/frontend/components/MainNav.vue index 7ddb9ff..bcb10e1 100644 --- a/frontend/components/MainNav.vue +++ b/frontend/components/MainNav.vue @@ -113,6 +113,16 @@ const links = computed(() => { ] const staffChildren = [ + featureEnabled("staffProfiles") ? { + label: "Mitarbeiterprofile", + to: "/staff/profiles", + icon: "i-heroicons-user-group" + } : null, + featureEnabled("teams") ? { + label: "Teams", + to: "/standardEntity/teams", + icon: "i-heroicons-users" + } : null, featureEnabled("staffTime") ? { label: "Zeiten", to: "/staff/time", @@ -249,16 +259,6 @@ const links = computed(() => { to: "/standardEntity/branches", icon: "i-heroicons-building-office-2" } : null, - featureEnabled("teams") ? { - label: "Teams", - to: "/standardEntity/teams", - icon: "i-heroicons-users" - } : null, - featureEnabled("staffProfiles") ? { - label: "Mitarbeiter", - to: "/staff/profiles", - icon: "i-heroicons-user-group" - } : null, featureEnabled("hourrates") ? { label: "Stundensätze", to: "/standardEntity/hourrates", diff --git a/frontend/pages/settings/tenant.vue b/frontend/pages/settings/tenant.vue index b2b576d..8c63905 100644 --- a/frontend/pages/settings/tenant.vue +++ b/frontend/pages/settings/tenant.vue @@ -83,7 +83,7 @@ const featureOptions = [ { key: "incomingInvoices", label: "Buchhaltung: Eingangsbelege" }, { key: "costcentres", label: "Buchhaltung: Kostenstellen" }, { key: "branches", label: "Stammdaten: Niederlassungen" }, - { key: "teams", label: "Stammdaten: Teams" }, + { key: "teams", label: "Mitarbeiter: Teams" }, { key: "accounts", label: "Buchhaltung: Buchungskonten" }, { key: "ownaccounts", label: "Buchhaltung: Zusätzliche Buchungskonten" }, { key: "banking", label: "Buchhaltung: Bank" }, @@ -97,7 +97,7 @@ const featureOptions = [ { key: "services", label: "Stammdaten: Leistungen" }, { key: "servicecategories", label: "Stammdaten: Leistungskategorien" }, { key: "memberrelations", label: "Stammdaten: Mitgliedsverhältnisse" }, - { key: "staffProfiles", label: "Stammdaten: Mitarbeiter" }, + { key: "staffProfiles", label: "Mitarbeiter: Mitarbeiterprofile" }, { key: "hourrates", label: "Stammdaten: Stundensätze" }, { key: "projecttypes", label: "Stammdaten: Projekttypen" }, { key: "contracttypes", label: "Stammdaten: Vertragstypen" },