fix(banking): default bank allocations to no VAT
This commit is contained in:
@@ -169,7 +169,7 @@ const selectAccount = (id) => {
|
|||||||
const manualAllocationSum = ref(itemInfo.value.amount || 0)
|
const manualAllocationSum = ref(itemInfo.value.amount || 0)
|
||||||
const allocationDescription = ref("")
|
const allocationDescription = ref("")
|
||||||
const allocationCostcentre = ref(null)
|
const allocationCostcentre = ref(null)
|
||||||
const allocationTaxKey = ref(null)
|
const allocationTaxKey = ref("40")
|
||||||
const allocationAmounts = computed(() => getBankAllocationAmounts({
|
const allocationAmounts = computed(() => getBankAllocationAmounts({
|
||||||
bankstatement: itemInfo.value.id,
|
bankstatement: itemInfo.value.id,
|
||||||
account: accountToSave.value,
|
account: accountToSave.value,
|
||||||
@@ -256,7 +256,7 @@ const saveAllocation = async (allocation) => {
|
|||||||
customerAccountToSave.value = null
|
customerAccountToSave.value = null
|
||||||
ownAccountToSave.value = null
|
ownAccountToSave.value = null
|
||||||
allocationCostcentre.value = null
|
allocationCostcentre.value = null
|
||||||
allocationTaxKey.value = null
|
allocationTaxKey.value = "40"
|
||||||
allocationBookingMode.value = "expense"
|
allocationBookingMode.value = "expense"
|
||||||
allocationDepreciationMonths.value = 36
|
allocationDepreciationMonths.value = 36
|
||||||
allocationDepreciationStartDate.value = dayjs(itemInfo.value?.date || new Date()).format("YYYY-MM-DD")
|
allocationDepreciationStartDate.value = dayjs(itemInfo.value?.date || new Date()).format("YYYY-MM-DD")
|
||||||
|
|||||||
Reference in New Issue
Block a user