Added 19 USTG

This commit is contained in:
2025-02-21 17:17:40 +01:00
parent 48ee83a77e
commit 1beeb4ea6d

View File

@@ -669,7 +669,7 @@ const getDocumentData = () => {
let rows = itemInfo.value.rows let rows = itemInfo.value.rows
if(itemInfo.value.taxType === "13b UStG") { if(itemInfo.value.taxType === "13b UStG" || itemInfo.value.taxType === "19 UStG") {
rows = rows.map(row => { rows = rows.map(row => {
return { return {
...row, ...row,
@@ -1243,7 +1243,7 @@ const setRowData = (row) => {
v-if="itemInfo.type === 'invoices'" v-if="itemInfo.type === 'invoices'"
> >
<USelectMenu <USelectMenu
:options="['Standard','13b UStG']" :options="['Standard','13b UStG','19 UStG']"
v-model="itemInfo.taxType" v-model="itemInfo.taxType"
class="w-full" class="w-full"
></USelectMenu> ></USelectMenu>
@@ -1954,7 +1954,7 @@ const setRowData = (row) => {
<USelectMenu <USelectMenu
:options="[19,7,0]" :options="[19,7,0]"
v-model="row.taxPercent" v-model="row.taxPercent"
:disabled="itemInfo.taxType === '13b UStG'" :disabled="itemInfo.taxType === '13b UStG' || itemInfo.taxType === '19 UStG'"
> >
<template #option="{option}"> <template #option="{option}">
{{option}} % {{option}} %