From f387604a046e9a7c1bedc13e621902d36dc350b7 Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Tue, 24 Oct 2023 20:05:07 -0400 Subject: [PATCH] Fix 0000073 - Tax, VAT and Tip fields added in listorders for translation module --- src/app/listorders/listorders.component.html | 6 +++--- src/app/listorders/listorders.component.ts | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) 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); }