Remove logging
This commit is contained in:
parent
45ad8d8e6a
commit
8628f79043
1 changed files with 27 additions and 27 deletions
|
@ -128,7 +128,7 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
|
|||
var today = new Date();
|
||||
this.orders = orders;
|
||||
|
||||
console.log(this.ownerUpdate);
|
||||
//console.log(this.ownerUpdate);
|
||||
for (let i=0; i < this.orders.length; i++){
|
||||
this.total += this.orders[i].totalZec;
|
||||
//
|
||||
|
@ -205,7 +205,7 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
|
|||
openDbExport(){
|
||||
const dialogConfig = new MatDialogConfig();
|
||||
|
||||
console.log('openDbExport ---');
|
||||
//console.log('openDbExport ---');
|
||||
|
||||
dialogConfig.disableClose = false;
|
||||
dialogConfig.autoFocus = true;
|
||||
|
@ -218,33 +218,33 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
|
|||
|
||||
}
|
||||
|
||||
chgUILanguage(){
|
||||
console.log('LISTORDERS.chgUILanguage Called ');
|
||||
this.languageService.getViewElements('listorders').subscribe(
|
||||
response => {
|
||||
console.log('Received >> ', response );
|
||||
console.log('Language Code : ', response.language);
|
||||
console.log('Component Name : ',response.component);
|
||||
console.log('Language data : ',response.data);
|
||||
chgUILanguage(){
|
||||
//console.log('LISTORDERS.chgUILanguage Called ');
|
||||
this.languageService.getViewElements('listorders').subscribe({
|
||||
next: response => {
|
||||
//console.log('Received >> ', response );
|
||||
//console.log('Language Code : ', response.language);
|
||||
//console.log('Component Name : ',response.component);
|
||||
//console.log('Language data : ',response.data);
|
||||
|
||||
this.vE.listordersBacktoshopBtn = response.data.listorders_backtoshop_btn;
|
||||
this.vE.listordersExportOrders = response.data.listorders_export_orders;
|
||||
this.vE.listordersTodaysTotal = response.data.listorders_todays_total;
|
||||
this.vE.listordersOverallTotal = response.data.listorders_overall_total;
|
||||
this.vE.listordersOrderId = response.data.listorders_order_id;
|
||||
this.vE.listordersOrderTotal = response.data.listorders_order_total;
|
||||
this.vE.listordersItemLbl = response.data.listorders_item_lbl;
|
||||
this.vE.listordersQtyLbl = response.data.listorders_qty_lbl;
|
||||
this.vE.listordersTotalLbl = response.data.listorders_total_lbl;
|
||||
this.vE.listordersInvoiceBtn = response.data.listorders_invoice_btn;
|
||||
this.vE.listordersReceiptBtn = response.data.listorders_receipt_btn;
|
||||
this.vE.listordersNoOrders = response.data.listorders_no_orders;
|
||||
this.vE.listordersEndDate = response.data.listorders_end_date;
|
||||
this.vE.listordersBacktoshopBtn = response.data.listorders_backtoshop_btn;
|
||||
this.vE.listordersExportOrders = response.data.listorders_export_orders;
|
||||
this.vE.listordersTodaysTotal = response.data.listorders_todays_total;
|
||||
this.vE.listordersOverallTotal = response.data.listorders_overall_total;
|
||||
this.vE.listordersOrderId = response.data.listorders_order_id;
|
||||
this.vE.listordersOrderTotal = response.data.listorders_order_total;
|
||||
this.vE.listordersItemLbl = response.data.listorders_item_lbl;
|
||||
this.vE.listordersQtyLbl = response.data.listorders_qty_lbl;
|
||||
this.vE.listordersTotalLbl = response.data.listorders_total_lbl;
|
||||
this.vE.listordersInvoiceBtn = response.data.listorders_invoice_btn;
|
||||
this.vE.listordersReceiptBtn = response.data.listorders_receipt_btn;
|
||||
this.vE.listordersNoOrders = response.data.listorders_no_orders;
|
||||
this.vE.listordersEndDate = response.data.listorders_end_date;
|
||||
|
||||
},
|
||||
error => { console.log('Error >> ',error); }
|
||||
);
|
||||
}
|
||||
},
|
||||
error: error => { console.log('Error >> ',error); }
|
||||
});
|
||||
}
|
||||
|
||||
paySession() {
|
||||
const dialogConfig = new MatDialogConfig();
|
||||
|
|
Loading…
Reference in a new issue