From c1108314c17fd3043ded89397609c96db7185193 Mon Sep 17 00:00:00 2001 From: flfeders Date: Tue, 16 Apr 2024 11:33:55 +0200 Subject: [PATCH] Moved Buchhaltung --- layouts/default.vue | 54 ++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index 5aeb9d7..d0cd858 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -264,6 +264,23 @@ let links = computed(() => { }, ] }, + ... dataStore.ownTenant.features.accounting ? [{ + label: "Buchhaltung", + defaultOpen: false, + icon: "i-heroicons-chart-bar-square", + children: [ + { + label: "Belege", + to: "/receipts", + icon: "i-heroicons-document-text" + }, + { + label: "Bank", + to: "/banking", + icon: "i-heroicons-document-text" + }, + ] + },] : [], ... dataStore.ownTenant.features.inventory ? [{ label: "Lager", icon: "i-heroicons-puzzle-piece", @@ -286,6 +303,11 @@ let links = computed(() => { to: "/inventoryitems", icon: "i-heroicons-puzzle-piece" }, + ... dataStore.ownTenant.features.vehicles ? [{ + label: "Fahrzeuge", + to: "/vehicles", + icon: "i-heroicons-truck" + }] : [], { label: "Stammdaten", defaultOpen: false, @@ -300,30 +322,9 @@ let links = computed(() => { to: "/services", icon: "i-heroicons-puzzle-piece" }, - ... dataStore.ownTenant.features.vehicles ? [{ - label: "Fahrzeuge", - to: "/vehicles", - icon: "i-heroicons-truck" - }] : [], + ] }, - ... dataStore.ownTenant.features.accounting ? [{ - label: "Buchhaltung", - defaultOpen: false, - icon: "i-heroicons-user-group", - children: [ - { - label: "Belege", - to: "/receipts", - icon: "i-heroicons-document-text" - }, - { - label: "Bank", - to: "/banking", - icon: "i-heroicons-document-text" - }, - ] - },] : [], ... dataStore.ownTenant.features.projects ? [{ label: "Projekte", to: "/projects", @@ -519,8 +520,15 @@ const footerLinks = [/*{ dark="/Logo_Dark.png" class="w-1/3 mx-auto my-10" /> +
+ +
+
+ + + +
-