From f0c96f5e1007ee0b057323771fc7b1c128910ac3 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Wed, 9 Apr 2025 20:24:30 +0200 Subject: [PATCH] Corrected TaxType Saving and Display of DeliveryDate when "Kein Lieferdatum anzeigen" --- pages/createDocument/edit/[[id]].vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/createDocument/edit/[[id]].vue b/pages/createDocument/edit/[[id]].vue index 6257b26..c031e21 100644 --- a/pages/createDocument/edit/[[id]].vue +++ b/pages/createDocument/edit/[[id]].vue @@ -1097,7 +1097,7 @@ const saveDocument = async (state,resetup = false) => { let createData = { type: itemInfo.value.type, - taxType: itemInfo.value.type === "invoices" ? itemInfo.value.taxType : null, + taxType: (itemInfo.value.type === "invoices" || itemInfo.value.type === "quotes") ? itemInfo.value.taxType : null, state: itemInfo.value.state || "Entwurf", customer: itemInfo.value.customer, contact: itemInfo.value.contact, @@ -1632,7 +1632,7 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {