Historic bill fix decimal

This commit is contained in:
Luca Haid
2025-01-21 08:47:46 +00:00
parent 977c4eb399
commit ec39072a39
2 changed files with 6 additions and 1 deletions
@@ -7,6 +7,11 @@ Vue.component('historic-bill', {
<template v-slot:invoice_number="{ row }">
<a :href="'/HistoricBillData/' + row.invoice_number + '_' + row.cinvoice_number +'.pdf'" target="_blank">{{ row.invoice_number }}</a>
</template>
<!-- brutto_sum always show 2 decimal with €-->
<template v-slot:brutto_sum="{ row }">
<span class="text-right">€ {{ row.brutto_sum.toFixed(2) }}</span>
</template>
</tt-table-crud>
</tt-card>