Fix 0000074 - Tax, VAT and Tip fields added

This commit is contained in:
Rene V. Vergara A. 2023-10-24 16:18:36 -04:00
parent 518828be9d
commit 58a5ca5656

View file

@ -39,8 +39,8 @@ export class DbExportComponent implements OnInit {
expiration: new Date(Date.now()).toISOString(),
payconf: false,
crmToken: '',
viewkey: '',
tips: false
viewkey: '',
tips: false
};
_ordersOk = false;
@ -140,6 +140,9 @@ export class DbExportComponent implements OnInit {
this.orders[i].total + ',' +
this.orders[i].price! + ',' +
this.orders[i].totalZec + ',' +
this.orders[i].taxAmount + ',' +
this.orders[i].vatAmount + ',' +
this.orders[i].tipAmount + ',' +
paid + ',"' +
this.orders[i].externalInvoice + '"' +
'\n';