Mitarbeiternavigation neu gruppiert

This commit is contained in:
2026-05-08 19:25:07 +02:00
parent cba4ea52e8
commit e166248c0d
2 changed files with 12 additions and 12 deletions

View File

@@ -113,6 +113,16 @@ const links = computed(() => {
] ]
const staffChildren = [ 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") ? { featureEnabled("staffTime") ? {
label: "Zeiten", label: "Zeiten",
to: "/staff/time", to: "/staff/time",
@@ -249,16 +259,6 @@ const links = computed(() => {
to: "/standardEntity/branches", to: "/standardEntity/branches",
icon: "i-heroicons-building-office-2" icon: "i-heroicons-building-office-2"
} : null, } : 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") ? { featureEnabled("hourrates") ? {
label: "Stundensätze", label: "Stundensätze",
to: "/standardEntity/hourrates", to: "/standardEntity/hourrates",

View File

@@ -83,7 +83,7 @@ const featureOptions = [
{ key: "incomingInvoices", label: "Buchhaltung: Eingangsbelege" }, { key: "incomingInvoices", label: "Buchhaltung: Eingangsbelege" },
{ key: "costcentres", label: "Buchhaltung: Kostenstellen" }, { key: "costcentres", label: "Buchhaltung: Kostenstellen" },
{ key: "branches", label: "Stammdaten: Niederlassungen" }, { key: "branches", label: "Stammdaten: Niederlassungen" },
{ key: "teams", label: "Stammdaten: Teams" }, { key: "teams", label: "Mitarbeiter: Teams" },
{ key: "accounts", label: "Buchhaltung: Buchungskonten" }, { key: "accounts", label: "Buchhaltung: Buchungskonten" },
{ key: "ownaccounts", label: "Buchhaltung: Zusätzliche Buchungskonten" }, { key: "ownaccounts", label: "Buchhaltung: Zusätzliche Buchungskonten" },
{ key: "banking", label: "Buchhaltung: Bank" }, { key: "banking", label: "Buchhaltung: Bank" },
@@ -97,7 +97,7 @@ const featureOptions = [
{ key: "services", label: "Stammdaten: Leistungen" }, { key: "services", label: "Stammdaten: Leistungen" },
{ key: "servicecategories", label: "Stammdaten: Leistungskategorien" }, { key: "servicecategories", label: "Stammdaten: Leistungskategorien" },
{ key: "memberrelations", label: "Stammdaten: Mitgliedsverhältnisse" }, { key: "memberrelations", label: "Stammdaten: Mitgliedsverhältnisse" },
{ key: "staffProfiles", label: "Stammdaten: Mitarbeiter" }, { key: "staffProfiles", label: "Mitarbeiter: Mitarbeiterprofile" },
{ key: "hourrates", label: "Stammdaten: Stundensätze" }, { key: "hourrates", label: "Stammdaten: Stundensätze" },
{ key: "projecttypes", label: "Stammdaten: Projekttypen" }, { key: "projecttypes", label: "Stammdaten: Projekttypen" },
{ key: "contracttypes", label: "Stammdaten: Vertragstypen" }, { key: "contracttypes", label: "Stammdaten: Vertragstypen" },