Fix
This commit is contained in:
@@ -339,8 +339,7 @@ const links = computed(() => {
|
|||||||
},{
|
},{
|
||||||
label: "Export",
|
label: "Export",
|
||||||
to: "/export",
|
to: "/export",
|
||||||
icon: "i-heroicons-clipboard-document-list",
|
icon: "i-heroicons-clipboard-document-list"
|
||||||
disabled: true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,13 +26,13 @@ const setupPage = async () => {
|
|||||||
incominginvoices.value = (await useEntities("incominginvoices").select("*, vendor(*)"))
|
incominginvoices.value = (await useEntities("incominginvoices").select("*, vendor(*)"))
|
||||||
|
|
||||||
items.value = await Promise.all(items.value.map(async (i) => {
|
items.value = await Promise.all(items.value.map(async (i) => {
|
||||||
let renderedAllocationsTemp = await renderedAllocations(i.id)
|
// let renderedAllocationsTemp = await renderedAllocations(i.id)
|
||||||
let saldo = getSaldo(renderedAllocationsTemp)
|
// let saldo = getSaldo(renderedAllocationsTemp)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...i,
|
...i,
|
||||||
saldo: saldo,
|
// saldo: saldo,
|
||||||
allocations: renderedAllocationsTemp.length,
|
// allocations: renderedAllocationsTemp.length,
|
||||||
}
|
}
|
||||||
|
|
||||||
}))
|
}))
|
||||||
@@ -103,13 +103,13 @@ const templateColumns = [
|
|||||||
},{
|
},{
|
||||||
key: "label",
|
key: "label",
|
||||||
label: "Name"
|
label: "Name"
|
||||||
},{
|
},/*{
|
||||||
key: "allocations",
|
key: "allocations",
|
||||||
label: "Buchungen"
|
label: "Buchungen"
|
||||||
},{
|
},{
|
||||||
key: "saldo",
|
key: "saldo",
|
||||||
label: "Saldo"
|
label: "Saldo"
|
||||||
}, {
|
},*/ {
|
||||||
key: "description",
|
key: "description",
|
||||||
label: "Beschreibung"
|
label: "Beschreibung"
|
||||||
},
|
},
|
||||||
@@ -166,7 +166,7 @@ setupPage()
|
|||||||
</UDashboardNavbar>
|
</UDashboardNavbar>
|
||||||
<UDashboardToolbar>
|
<UDashboardToolbar>
|
||||||
<template #right>
|
<template #right>
|
||||||
<USelectMenu
|
<!-- <USelectMenu
|
||||||
v-model="selectedColumns"
|
v-model="selectedColumns"
|
||||||
icon="i-heroicons-adjustments-horizontal-solid"
|
icon="i-heroicons-adjustments-horizontal-solid"
|
||||||
:options="templateColumns"
|
:options="templateColumns"
|
||||||
@@ -178,7 +178,7 @@ setupPage()
|
|||||||
<template #label>
|
<template #label>
|
||||||
Spalten
|
Spalten
|
||||||
</template>
|
</template>
|
||||||
</USelectMenu>
|
</USelectMenu>-->
|
||||||
<USelectMenu
|
<USelectMenu
|
||||||
icon="i-heroicons-adjustments-horizontal-solid"
|
icon="i-heroicons-adjustments-horizontal-solid"
|
||||||
multiple
|
multiple
|
||||||
|
|||||||
Reference in New Issue
Block a user