New CustomerInventory,
New Mitgliederverwaltung für Vereine New Bank Auto Complete
This commit is contained in:
@@ -12,6 +12,9 @@ const tenantExtraModules = computed(() => {
|
||||
const showMembersNav = computed(() => {
|
||||
return tenantExtraModules.value.includes("verein") && (has("members") || has("customers"))
|
||||
})
|
||||
const showMemberRelationsNav = computed(() => {
|
||||
return tenantExtraModules.value.includes("verein") && has("members")
|
||||
})
|
||||
|
||||
const links = computed(() => {
|
||||
return [
|
||||
@@ -191,6 +194,26 @@ const links = computed(() => {
|
||||
to: "/standardEntity/spaces",
|
||||
icon: "i-heroicons-square-3-stack-3d"
|
||||
}] : [],
|
||||
...has("inventoryitems") ? [{
|
||||
label: "Kundenlagerplätze",
|
||||
to: "/standardEntity/customerspaces",
|
||||
icon: "i-heroicons-squares-plus"
|
||||
}] : [],
|
||||
...has("inventoryitems") ? [{
|
||||
label: "Kundeninventar",
|
||||
to: "/standardEntity/customerinventoryitems",
|
||||
icon: "i-heroicons-qr-code"
|
||||
}] : [],
|
||||
...has("inventoryitems") ? [{
|
||||
label: "Inventar",
|
||||
to: "/standardEntity/inventoryitems",
|
||||
icon: "i-heroicons-puzzle-piece"
|
||||
}] : [],
|
||||
...has("inventoryitems") ? [{
|
||||
label: "Inventargruppen",
|
||||
to: "/standardEntity/inventoryitemgroups",
|
||||
icon: "i-heroicons-puzzle-piece"
|
||||
}] : [],
|
||||
]
|
||||
}] : [],
|
||||
{
|
||||
@@ -218,6 +241,11 @@ const links = computed(() => {
|
||||
to: "/standardEntity/servicecategories",
|
||||
icon: "i-heroicons-wrench-screwdriver"
|
||||
}] : [],
|
||||
...showMemberRelationsNav.value ? [{
|
||||
label: "Mitgliedsverhältnisse",
|
||||
to: "/standardEntity/memberrelations",
|
||||
icon: "i-heroicons-identification"
|
||||
}] : [],
|
||||
{
|
||||
label: "Mitarbeiter",
|
||||
to: "/staff/profiles",
|
||||
@@ -228,21 +256,21 @@ const links = computed(() => {
|
||||
to: "/standardEntity/hourrates",
|
||||
icon: "i-heroicons-user-group"
|
||||
},
|
||||
{
|
||||
label: "Projekttypen",
|
||||
to: "/projecttypes",
|
||||
icon: "i-heroicons-clipboard-document-list",
|
||||
},
|
||||
{
|
||||
label: "Vertragstypen",
|
||||
to: "/standardEntity/contracttypes",
|
||||
icon: "i-heroicons-document-duplicate",
|
||||
},
|
||||
...has("vehicles") ? [{
|
||||
label: "Fahrzeuge",
|
||||
to: "/standardEntity/vehicles",
|
||||
icon: "i-heroicons-truck"
|
||||
}] : [],
|
||||
...has("inventoryitems") ? [{
|
||||
label: "Inventar",
|
||||
to: "/standardEntity/inventoryitems",
|
||||
icon: "i-heroicons-puzzle-piece"
|
||||
}] : [],
|
||||
...has("inventoryitems") ? [{
|
||||
label: "Inventargruppen",
|
||||
to: "/standardEntity/inventoryitemgroups",
|
||||
icon: "i-heroicons-puzzle-piece"
|
||||
}] : [],
|
||||
]
|
||||
},
|
||||
|
||||
@@ -286,14 +314,6 @@ const links = computed(() => {
|
||||
label: "Firmeneinstellungen",
|
||||
to: "/settings/tenant",
|
||||
icon: "i-heroicons-building-office",
|
||||
}, {
|
||||
label: "Projekttypen",
|
||||
to: "/projecttypes",
|
||||
icon: "i-heroicons-clipboard-document-list",
|
||||
}, {
|
||||
label: "Vertragstypen",
|
||||
to: "/standardEntity/contracttypes",
|
||||
icon: "i-heroicons-document-duplicate",
|
||||
}, {
|
||||
label: "Export",
|
||||
to: "/export",
|
||||
|
||||
Reference in New Issue
Block a user