Added IBAN Saving, Automatic Saving, added Mitglieder
This commit is contained in:
@@ -5,6 +5,13 @@ const { has } = usePermission()
|
||||
|
||||
// Lokaler State für den Taschenrechner
|
||||
const showCalculator = ref(false)
|
||||
const tenantExtraModules = computed(() => {
|
||||
const modules = auth.activeTenantData?.extraModules
|
||||
return Array.isArray(modules) ? modules : []
|
||||
})
|
||||
const showMembersNav = computed(() => {
|
||||
return tenantExtraModules.value.includes("verein") && (has("members") || has("customers"))
|
||||
})
|
||||
|
||||
const links = computed(() => {
|
||||
return [
|
||||
@@ -98,11 +105,16 @@ const links = computed(() => {
|
||||
}
|
||||
]
|
||||
},
|
||||
...(has("customers") || has("vendors") || has("contacts")) ? [{
|
||||
...(has("customers") || has("vendors") || has("contacts") || showMembersNav.value) ? [{
|
||||
label: "Kontakte",
|
||||
defaultOpen: false,
|
||||
icon: "i-heroicons-user-group",
|
||||
children: [
|
||||
...showMembersNav.value ? [{
|
||||
label: "Mitglieder",
|
||||
to: "/standardEntity/members",
|
||||
icon: "i-heroicons-user-group"
|
||||
}] : [],
|
||||
...has("customers") ? [{
|
||||
label: "Kunden",
|
||||
to: "/standardEntity/customers",
|
||||
|
||||
Reference in New Issue
Block a user