Mitarbeiternavigation neu gruppiert
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user