From 8989975be1045357c8b921491701edbb3c5f3d3e Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Thu, 31 Jul 2025 20:20:17 +0200 Subject: [PATCH] Added Steuertyp Error --- pages/incomingInvoices/edit/[id].vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/incomingInvoices/edit/[id].vue b/pages/incomingInvoices/edit/[id].vue index 0435cd0..28e4e83 100644 --- a/pages/incomingInvoices/edit/[id].vue +++ b/pages/incomingInvoices/edit/[id].vue @@ -158,6 +158,7 @@ const findIncomingInvoiceErrors = computed(() => { if(account.amountNet === null) errors.push({message: "Es ist kein Nettobetrag angegeben", type: "breaking"}) if(account.taxType === null) errors.push({message: "Es ist kein Steuertyp ausgewählt", type: "breaking"}) if(account.costCentre === null) errors.push({message: "Es ist keine Kostenstelle ausgewählt", type: "info"}) + if(account.taxType === null || account.taxType === "0") errors.push({message: "Es ist keine Steuerart ausgewählt", type: "breaking"}) })