fix(banking): default bank allocations to no VAT

This commit is contained in:
2026-09-28 07:21:45 +02:00
parent 46ee819029
commit ec5e240ef1

View File

@@ -169,7 +169,7 @@ const selectAccount = (id) => {
const manualAllocationSum = ref(itemInfo.value.amount || 0)
const allocationDescription = ref("")
const allocationCostcentre = ref(null)
const allocationTaxKey = ref(null)
const allocationTaxKey = ref("40")
const allocationAmounts = computed(() => getBankAllocationAmounts({
bankstatement: itemInfo.value.id,
account: accountToSave.value,
@@ -256,7 +256,7 @@ const saveAllocation = async (allocation) => {
customerAccountToSave.value = null
ownAccountToSave.value = null
allocationCostcentre.value = null
allocationTaxKey.value = null
allocationTaxKey.value = "40"
allocationBookingMode.value = "expense"
allocationDepreciationMonths.value = 36
allocationDepreciationStartDate.value = dayjs(itemInfo.value?.date || new Date()).format("YYYY-MM-DD")