#37 open for testing
This commit is contained in:
@@ -117,6 +117,8 @@ const totalCalculated = computed(() => {
|
|||||||
|
|
||||||
if(account.taxType === "19" && account.amountTax) {
|
if(account.taxType === "19" && account.amountTax) {
|
||||||
totalAmount19Tax += account.amountTax
|
totalAmount19Tax += account.amountTax
|
||||||
|
} else if(account.taxType === "7" && account.amountTax) {
|
||||||
|
totalAmount7Tax += account.amountTax
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -125,6 +127,7 @@ const totalCalculated = computed(() => {
|
|||||||
return {
|
return {
|
||||||
totalNet,
|
totalNet,
|
||||||
totalAmount19Tax,
|
totalAmount19Tax,
|
||||||
|
totalAmount7Tax,
|
||||||
totalGross
|
totalGross
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -392,6 +395,10 @@ const findIncomingInvoiceErrors = computed(() => {
|
|||||||
<td>Gesamt exkl. Steuer: </td>
|
<td>Gesamt exkl. Steuer: </td>
|
||||||
<td class="text-right">{{totalCalculated.totalNet.toFixed(2).replace(".",",")}} €</td>
|
<td class="text-right">{{totalCalculated.totalNet.toFixed(2).replace(".",",")}} €</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>7% Steuer: </td>
|
||||||
|
<td class="text-right">{{totalCalculated.totalAmount7Tax.toFixed(2).replace(".",",")}} €</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>19% Steuer: </td>
|
<td>19% Steuer: </td>
|
||||||
<td class="text-right">{{totalCalculated.totalAmount19Tax.toFixed(2).replace(".",",")}} €</td>
|
<td class="text-right">{{totalCalculated.totalAmount19Tax.toFixed(2).replace(".",",")}} €</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user