Fix 0000071 - Tax, VAT, Tip elements included in language translation
This commit is contained in:
parent
a45cbed63c
commit
0d5fa1a666
2 changed files with 10 additions and 4 deletions
|
@ -52,19 +52,19 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr *ngIf="order.taxAmount > 0">
|
||||
<td class="newOrdertbdetail" style="text-align: right;">Sales Tax</td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;">{{ vE.receiptTax }}</td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;"></td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;">{{ order.taxAmount | currency: order.currency.toUpperCase() }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr *ngIf="order.vatAmount > 0">
|
||||
<td class="newOrdertbdetail" style="text-align: right;">Value-Added Tax</td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;">{{ vE.receiptVAT }}</td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;"></td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;">{{ order.vatAmount | currency: order.currency.toUpperCase() }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr *ngIf="order.tipAmount > 0">
|
||||
<td class="newOrdertbdetail" style="text-align: right;">Tip</td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;">{{ vE.receiptTip }}</td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;"></td>
|
||||
<td class="newOrdertbdetail" style="text-align: right;">{{ order.tipAmount | currency: order.currency.toUpperCase() }}</td>
|
||||
<td></td>
|
||||
|
|
|
@ -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); }
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue