This commit is contained in:
2025-12-28 14:49:51 +01:00
parent bffc5666fe
commit 3e5c6ca8da
2 changed files with 9 additions and 10 deletions

View File

@@ -339,8 +339,7 @@ const links = computed(() => {
},{
label: "Export",
to: "/export",
icon: "i-heroicons-clipboard-document-list",
disabled: true
icon: "i-heroicons-clipboard-document-list"
}
]
}

View File

@@ -26,13 +26,13 @@ const setupPage = async () => {
incominginvoices.value = (await useEntities("incominginvoices").select("*, vendor(*)"))
items.value = await Promise.all(items.value.map(async (i) => {
let renderedAllocationsTemp = await renderedAllocations(i.id)
let saldo = getSaldo(renderedAllocationsTemp)
// let renderedAllocationsTemp = await renderedAllocations(i.id)
// let saldo = getSaldo(renderedAllocationsTemp)
return {
...i,
saldo: saldo,
allocations: renderedAllocationsTemp.length,
// saldo: saldo,
// allocations: renderedAllocationsTemp.length,
}
}))
@@ -103,13 +103,13 @@ const templateColumns = [
},{
key: "label",
label: "Name"
},{
},/*{
key: "allocations",
label: "Buchungen"
},{
key: "saldo",
label: "Saldo"
}, {
},*/ {
key: "description",
label: "Beschreibung"
},
@@ -166,7 +166,7 @@ setupPage()
</UDashboardNavbar>
<UDashboardToolbar>
<template #right>
<USelectMenu
<!-- <USelectMenu
v-model="selectedColumns"
icon="i-heroicons-adjustments-horizontal-solid"
:options="templateColumns"
@@ -178,7 +178,7 @@ setupPage()
<template #label>
Spalten
</template>
</USelectMenu>
</USelectMenu>-->
<USelectMenu
icon="i-heroicons-adjustments-horizontal-solid"
multiple