Historic bill fix decimal
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user