Fix 0000074 - Tax, VAT and Tip fields added
This commit is contained in:
parent
518828be9d
commit
58a5ca5656
1 changed files with 5 additions and 2 deletions
|
@ -39,8 +39,8 @@ export class DbExportComponent implements OnInit {
|
||||||
expiration: new Date(Date.now()).toISOString(),
|
expiration: new Date(Date.now()).toISOString(),
|
||||||
payconf: false,
|
payconf: false,
|
||||||
crmToken: '',
|
crmToken: '',
|
||||||
viewkey: '',
|
viewkey: '',
|
||||||
tips: false
|
tips: false
|
||||||
};
|
};
|
||||||
|
|
||||||
_ordersOk = false;
|
_ordersOk = false;
|
||||||
|
@ -140,6 +140,9 @@ export class DbExportComponent implements OnInit {
|
||||||
this.orders[i].total + ',' +
|
this.orders[i].total + ',' +
|
||||||
this.orders[i].price! + ',' +
|
this.orders[i].price! + ',' +
|
||||||
this.orders[i].totalZec + ',' +
|
this.orders[i].totalZec + ',' +
|
||||||
|
this.orders[i].taxAmount + ',' +
|
||||||
|
this.orders[i].vatAmount + ',' +
|
||||||
|
this.orders[i].tipAmount + ',' +
|
||||||
paid + ',"' +
|
paid + ',"' +
|
||||||
this.orders[i].externalInvoice + '"' +
|
this.orders[i].externalInvoice + '"' +
|
||||||
'\n';
|
'\n';
|
||||||
|
|
Loading…
Reference in a new issue