Added PV Mode for Documents
This commit is contained in:
@@ -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)"
|
||||
>
|
||||
<USelectMenu
|
||||
:options="['Standard','13b UStG','19 UStG']"
|
||||
:options="[{key:'Standard', label: 'Standard'},{key:'13b UStG', label: '13b UStG'},{key:'19 UStG', label: '19 UStG Kleinunternehmer'},{key:'12.3 UStG', label: 'PV 0% USt'}]"
|
||||
v-model="itemInfo.taxType"
|
||||
value-attribute="key"
|
||||
option-attribute="label"
|
||||
@change="setTaxType"
|
||||
class="w-full"
|
||||
></USelectMenu>
|
||||
|
||||
Reference in New Issue
Block a user