dev #232

Merged
flfeders merged 13 commits from dev into main 2026-09-30 15:43:46 +00:00
Showing only changes of commit ec5e240ef1 - Show all commits

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")