diff --git a/src/app/receipt/receipt.component.html b/src/app/receipt/receipt.component.html
index 342b9bf..688585f 100644
--- a/src/app/receipt/receipt.component.html
+++ b/src/app/receipt/receipt.component.html
@@ -52,19 +52,19 @@
0">
- Sales Tax |
+ {{ vE.receiptTax }} |
|
{{ order.taxAmount | currency: order.currency.toUpperCase() }} |
|
0">
- Value-Added Tax |
+ {{ vE.receiptVAT }} |
|
{{ order.vatAmount | currency: order.currency.toUpperCase() }} |
|
0">
- Tip |
+ {{ vE.receiptTip }} |
|
{{ order.tipAmount | currency: order.currency.toUpperCase() }} |
|
diff --git a/src/app/receipt/receipt.component.ts b/src/app/receipt/receipt.component.ts
index 5146817..353be74 100644
--- a/src/app/receipt/receipt.component.ts
+++ b/src/app/receipt/receipt.component.ts
@@ -56,7 +56,10 @@ export class ReceiptComponent implements OnInit {
receiptQtyLbl : '',
receiptOrderPrice : '',
receiptInvalidId : '',
- receiptInfoNotavail : ''
+ receiptInfoNotavail : '',
+ receiptTax : '',
+ receiptVAT : '',
+ receiptTip : ''
}
constructor(
@@ -102,6 +105,9 @@ export class ReceiptComponent implements OnInit {
this.vE.receiptOrderPrice = response.data.receipt_order_price;
this.vE.receiptInvalidId = response.data.receipt_invalid_id;
this.vE.receiptInfoNotavail = response.data.receipt_info_notavail;
+ this.vE.receiptTax = response.data.receipt_tax;
+ this.vE.receiptVAT = response.data.receipt_vat;
+ this.vE.receiptTip = response.data.receipt_tip;
},
error => { console.log('Error >> ',error); }
);