Compare commits
2 Commits
76b363fdaf
...
67d2a05ac4
| Author | SHA1 | Date | |
|---|---|---|---|
| 67d2a05ac4 | |||
| b95d539907 |
@@ -117,6 +117,8 @@ const totalCalculated = computed(() => {
|
||||
|
||||
if(account.taxType === "19" && account.amountTax) {
|
||||
totalAmount19Tax += account.amountTax
|
||||
} else if(account.taxType === "7" && account.amountTax) {
|
||||
totalAmount7Tax += account.amountTax
|
||||
}
|
||||
})
|
||||
|
||||
@@ -125,6 +127,7 @@ const totalCalculated = computed(() => {
|
||||
return {
|
||||
totalNet,
|
||||
totalAmount19Tax,
|
||||
totalAmount7Tax,
|
||||
totalGross
|
||||
}
|
||||
|
||||
@@ -392,6 +395,10 @@ const findIncomingInvoiceErrors = computed(() => {
|
||||
<td>Gesamt exkl. Steuer: </td>
|
||||
<td class="text-right">{{totalCalculated.totalNet.toFixed(2).replace(".",",")}} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>7% Steuer: </td>
|
||||
<td class="text-right">{{totalCalculated.totalAmount7Tax.toFixed(2).replace(".",",")}} €</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>19% Steuer: </td>
|
||||
<td class="text-right">{{totalCalculated.totalAmount19Tax.toFixed(2).replace(".",",")}} €</td>
|
||||
@@ -441,7 +448,7 @@ const findIncomingInvoiceErrors = computed(() => {
|
||||
value-attribute="id"
|
||||
searchable
|
||||
:disabled="mode === 'show'"
|
||||
:search-attributes="['label']"
|
||||
:search-attributes="['label','name','description','number']"
|
||||
searchable-placeholder="Suche..."
|
||||
v-model="item.costCentre"
|
||||
class="flex-auto"
|
||||
@@ -450,10 +457,10 @@ const findIncomingInvoiceErrors = computed(() => {
|
||||
{{costcentres.find(i => i.id === item.costCentre) ? costcentres.find(i => i.id === item.costCentre).name : "Keine Kostenstelle ausgewählt" }}
|
||||
</template>
|
||||
<template #option="{option}">
|
||||
<span v-if="option.vehicle">Fahrzeug - {{option.name}}</span>
|
||||
<span v-else-if="option.project">Projekt - {{option.name}}</span>
|
||||
<span v-else-if="option.inventoryitem">Inventarartikel - {{option.name}}</span>
|
||||
<span v-else>{{option.name}}</span>
|
||||
<span v-if="option.vehicle">{{option.number}} - Fahrzeug - {{option.name}}</span>
|
||||
<span v-else-if="option.project">{{option.number}} - Projekt - {{option.name}}</span>
|
||||
<span v-else-if="option.inventoryitem">{{option.number}} - Inventarartikel - {{option.name}}</span>
|
||||
<span v-else>{{option.number}} - {{option.name}}</span>
|
||||
</template>
|
||||
|
||||
</USelectMenu>
|
||||
|
||||
Reference in New Issue
Block a user