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