Fix
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user