Fix
This commit is contained in:
@@ -16,10 +16,13 @@ const route = useRoute()
|
|||||||
|
|
||||||
const bankstatements = ref([])
|
const bankstatements = ref([])
|
||||||
const bankaccounts = ref([])
|
const bankaccounts = ref([])
|
||||||
|
const filterAccount = ref([])
|
||||||
|
|
||||||
|
|
||||||
const setupPage = async () => {
|
const setupPage = async () => {
|
||||||
bankstatements.value = (await useEntities("bankstatements").select("*, statementallocations(*)", "date", false))
|
bankstatements.value = (await useEntities("bankstatements").select("*, statementallocations(*)", "date", false))
|
||||||
bankaccounts.value = await useEntities("bankaccounts").select()
|
bankaccounts.value = await useEntities("bankaccounts").select()
|
||||||
|
if(bankaccounts.value.length > 0) filterAccount.value = bankaccounts.value
|
||||||
}
|
}
|
||||||
|
|
||||||
const templateColumns = [
|
const templateColumns = [
|
||||||
@@ -58,7 +61,6 @@ const clearSearchString = () => {
|
|||||||
searchString.value = ''
|
searchString.value = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
const filterAccount = ref(bankaccounts.value || [])
|
|
||||||
|
|
||||||
const displayCurrency = (value, currency = "€") => {
|
const displayCurrency = (value, currency = "€") => {
|
||||||
return `${Number(value).toFixed(2).replace(".",",")} ${currency}`
|
return `${Number(value).toFixed(2).replace(".",",")} ${currency}`
|
||||||
|
|||||||
@@ -1281,6 +1281,7 @@ const saveSerialInvoice = async () => {
|
|||||||
payment_type: itemInfo.value.payment_type,
|
payment_type: itemInfo.value.payment_type,
|
||||||
deliveryDateType: "Leistungszeitraum",
|
deliveryDateType: "Leistungszeitraum",
|
||||||
createdBy: itemInfo.value.createdBy,
|
createdBy: itemInfo.value.createdBy,
|
||||||
|
created_by: itemInfo.value.created_by,
|
||||||
title: itemInfo.value.title,
|
title: itemInfo.value.title,
|
||||||
description: itemInfo.value.description,
|
description: itemInfo.value.description,
|
||||||
startText: itemInfo.value.startText,
|
startText: itemInfo.value.startText,
|
||||||
|
|||||||
Reference in New Issue
Block a user