diff --git a/src/app/listorders/listorders.component.html b/src/app/listorders/listorders.component.html index cfa2040..9e04dce 100644 --- a/src/app/listorders/listorders.component.html +++ b/src/app/listorders/listorders.component.html @@ -155,19 +155,19 @@ - Sales Tax + {{ vE.listordersTax }} {{ order.taxAmount | currency: order.currency.toUpperCase() }} - Value-Added Tax + {{ vE.listordersVAT }} {{ order.vatAmount | currency: order.currency.toUpperCase() }} - Tip + {{ vE.listordersTip }} {{ order.tipAmount | currency: order.currency.toUpperCase() }} diff --git a/src/app/listorders/listorders.component.ts b/src/app/listorders/listorders.component.ts index cd6b945..3d4f225 100644 --- a/src/app/listorders/listorders.component.ts +++ b/src/app/listorders/listorders.component.ts @@ -87,7 +87,10 @@ export class ListOrdersComponent implements OnInit, OnDestroy{ listordersInvoiceBtn : '', listordersReceiptBtn : '', listordersNoOrders : '', - listordersEndDate : '' + listordersEndDate : '', + listordersTax : '', + listordersVAT : '', + listordersTip : '' } // @@ -244,6 +247,9 @@ export class ListOrdersComponent implements OnInit, OnDestroy{ this.vE.listordersReceiptBtn = response.data.listorders_receipt_btn; this.vE.listordersNoOrders = response.data.listorders_no_orders; this.vE.listordersEndDate = response.data.listorders_end_date; + this.vE.listordersTax = response.data.listorders_tax; + this.vE.listordersVAT = response.data.listorders_vat; + this.vE.listordersTip = response.data.listorders_tip; }, error: error => { console.log('Error >> ',error); }