Moved Buchhaltung

This commit is contained in:
2024-04-16 11:33:55 +02:00
parent 0fd9db2357
commit c1108314c1

View File

@@ -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 ? [{ ... dataStore.ownTenant.features.inventory ? [{
label: "Lager", label: "Lager",
icon: "i-heroicons-puzzle-piece", icon: "i-heroicons-puzzle-piece",
@@ -286,6 +303,11 @@ let links = computed(() => {
to: "/inventoryitems", to: "/inventoryitems",
icon: "i-heroicons-puzzle-piece" icon: "i-heroicons-puzzle-piece"
}, },
... dataStore.ownTenant.features.vehicles ? [{
label: "Fahrzeuge",
to: "/vehicles",
icon: "i-heroicons-truck"
}] : [],
{ {
label: "Stammdaten", label: "Stammdaten",
defaultOpen: false, defaultOpen: false,
@@ -300,30 +322,9 @@ let links = computed(() => {
to: "/services", to: "/services",
icon: "i-heroicons-puzzle-piece" 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 ? [{ ... dataStore.ownTenant.features.projects ? [{
label: "Projekte", label: "Projekte",
to: "/projects", to: "/projects",
@@ -519,8 +520,15 @@ const footerLinks = [/*{
dark="/Logo_Dark.png" dark="/Logo_Dark.png"
class="w-1/3 mx-auto my-10" class="w-1/3 mx-auto my-10"
/> />
<div v-if="dataStore.showProfileSelection">
<ProfileSelection/>
</div>
<div v-else>
<UProgress animation="carousel" class="w-3/4 mx-auto mt-10" />
</div>
<UProgress animation="carousel" class="w-3/4 mx-auto mt-10" />
</div> </div>
</template> </template>