#69 style(Reconciliation): format total on sales.
This commit is contained in:
parent
ef1a520838
commit
b7984f7556
@ -20,7 +20,6 @@
|
||||
computed: {
|
||||
formattedValue() {
|
||||
return new Intl.NumberFormat(this.locale, { style: 'currency', currency: this.currency }).format(this.value);
|
||||
/* return Intl.NumberFormat(this.value, this.locale, this.currency).toString(); */
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -68,6 +68,9 @@
|
||||
<template v-slot:item.id="{ item }">
|
||||
<v-btn @click="openSummaryModal(item.id)">{{ item.id }}</v-btn>
|
||||
</template>
|
||||
<template v-slot:item.total="{ item }">
|
||||
<CurrencyText :value="item.total"></CurrencyText>
|
||||
</template>
|
||||
</v-data-table-virtual>
|
||||
</v-tabs-window-item>
|
||||
<SummaryPurchaseModal :id="selectedPurchaseId" ref="summaryModal" />
|
||||
|
Loading…
Reference in New Issue
Block a user