This commit is contained in:
2025-12-28 14:39:54 +01:00
parent 240264aafb
commit bffc5666fe
2 changed files with 4 additions and 1 deletions

View File

@@ -16,10 +16,13 @@ const route = useRoute()
const bankstatements = ref([])
const bankaccounts = ref([])
const filterAccount = ref([])
const setupPage = async () => {
bankstatements.value = (await useEntities("bankstatements").select("*, statementallocations(*)", "date", false))
bankaccounts.value = await useEntities("bankaccounts").select()
if(bankaccounts.value.length > 0) filterAccount.value = bankaccounts.value
}
const templateColumns = [
@@ -58,7 +61,6 @@ const clearSearchString = () => {
searchString.value = ''
}
const filterAccount = ref(bankaccounts.value || [])
const displayCurrency = (value, currency = "€") => {
return `${Number(value).toFixed(2).replace(".",",")} ${currency}`

View File

@@ -1281,6 +1281,7 @@ const saveSerialInvoice = async () => {
payment_type: itemInfo.value.payment_type,
deliveryDateType: "Leistungszeitraum",
createdBy: itemInfo.value.createdBy,
created_by: itemInfo.value.created_by,
title: itemInfo.value.title,
description: itemInfo.value.description,
startText: itemInfo.value.startText,