+
Bezahlt
Offen
@@ -128,7 +141,7 @@
{{displayCurrency(useSum().getCreatedDocumentSum(row,items))}}
- {{displayCurrency(useSum().getCreatedDocumentSum(row, items) - row.statementallocations.reduce((n,{amount}) => n + amount, 0))}}
+ {{displayCurrency(useSum().getCreatedDocumentSum(row, items) - row.statementallocations.reduce((n,{amount}) => n + amount, 0))}}
@@ -180,7 +193,7 @@ const items = ref([])
const selectedItem = ref(0)
const setupPage = async () => {
- items.value = (await useSupabaseSelect("createddocuments","*, customer(id,name), statementallocations(id,amount)","documentNumber")).filter(i => !i.archived)
+ items.value = (await useSupabaseSelect("createddocuments","*, customer(id,name), statementallocations(id,amount),linkedDocument(*)","documentNumber")).filter(i => !i.archived)
}
setupPage()