From bb4b9734aaaaa252ce1063232c5dd529561c7778 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Tue, 18 Mar 2025 09:52:58 +0100 Subject: [PATCH] Added PV Mode for Documents --- pages/createDocument/edit/[[id]].vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/createDocument/edit/[[id]].vue b/pages/createDocument/edit/[[id]].vue index f9fe025..a4e532f 100644 --- a/pages/createDocument/edit/[[id]].vue +++ b/pages/createDocument/edit/[[id]].vue @@ -370,6 +370,10 @@ const setTaxType = () => { itemInfo.value.rows.forEach(row => { row.taxPercent = 0 }) + } else if(itemInfo.value.taxType === "12.3 UStG") { + itemInfo.value.rows.forEach(row => { + row.taxPercent = 0 + }) } } @@ -468,7 +472,7 @@ const addPosition = (mode) => { let taxPercentage = 19 - if(['13b UStG','19 UStG'].includes(itemInfo.value.taxType)) { + if(['13b UStG','19 UStG','12.3 UStG'].includes(itemInfo.value.taxType)) { taxPercentage = 0 } @@ -1408,8 +1412,10 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = { v-if="['invoices','quotes','confirmationOrders'].includes(itemInfo.type)" >