#69 style(Reconciliation): format total on sales.

This commit is contained in:
Mono Mono 2024-11-17 00:07:18 -05:00
parent ef1a520838
commit b7984f7556
2 changed files with 3 additions and 1 deletions

View File

@ -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(); */
},
},
}

View File

@ -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" />