Taxes, tips and bugfixes #10

Merged
pitmutt merged 24 commits from dev into master 2023-10-28 12:07:37 +00:00
Showing only changes of commit 58a5ca5656 - Show all commits

View file

@ -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';