diff --git a/src/app/invoice/invoice.component.html b/src/app/invoice/invoice.component.html
index 2a6baaf..3fc3b55 100644
--- a/src/app/invoice/invoice.component.html
+++ b/src/app/invoice/invoice.component.html
@@ -52,19 +52,19 @@
0">
- Sales Tax |
+ {{ vE.invoiceTax }} |
|
{{ order.taxAmount | currency: order.currency.toUpperCase() }} |
|
0">
- Value-Added Tax |
+ {{ vE.invoiceVAT }} |
|
{{ order.vatAmount | currency: order.currency.toUpperCase() }} |
|
0">
- Tip |
+ {{ vE.invoiceTip }} |
|
{{ order.tipAmount | currency: order.currency.toUpperCase() }} |
|
diff --git a/src/app/invoice/invoice.component.ts b/src/app/invoice/invoice.component.ts
index ff53c93..36ed22a 100644
--- a/src/app/invoice/invoice.component.ts
+++ b/src/app/invoice/invoice.component.ts
@@ -90,7 +90,10 @@ export class InvoiceComponent implements OnInit {
invoiceCopyamountError : '',
invoiceCopymemoError : '',
invoiceInvalidId : '',
- invoiceInfoNotavail : ''
+ invoiceInfoNotavail : '',
+ invoiceTax : '',
+ invoiceVAT : '',
+ invoiceTip : ''
};
//
constructor(
@@ -278,6 +281,9 @@ export class InvoiceComponent implements OnInit {
this.vE.invoiceCopymemoError = response.data.invoice_copymemo_error;
this.vE.invoiceInvalidId = response.data.invoice_invalid_id;
this.vE.invoiceInfoNotavail = response.data.invoice_info_notavail;
+ this.vE.invoiceTax = response.data.invoice_tax;
+ this.vE.invoiceVAT = response.data.invoice_vat;
+ this.vE.invoiceTip = response.data.invoice_tip;
},
error => { console.log('Error >> ',error); }