Remove logging

This commit is contained in:
Rene Vergara 2023-05-10 14:49:01 -05:00
parent 45ad8d8e6a
commit 8628f79043
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 27 additions and 27 deletions

View File

@ -128,7 +128,7 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
var today = new Date(); var today = new Date();
this.orders = orders; this.orders = orders;
console.log(this.ownerUpdate); //console.log(this.ownerUpdate);
for (let i=0; i < this.orders.length; i++){ for (let i=0; i < this.orders.length; i++){
this.total += this.orders[i].totalZec; this.total += this.orders[i].totalZec;
// //
@ -205,7 +205,7 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
openDbExport(){ openDbExport(){
const dialogConfig = new MatDialogConfig(); const dialogConfig = new MatDialogConfig();
console.log('openDbExport ---'); //console.log('openDbExport ---');
dialogConfig.disableClose = false; dialogConfig.disableClose = false;
dialogConfig.autoFocus = true; dialogConfig.autoFocus = true;
@ -218,33 +218,33 @@ export class ListOrdersComponent implements OnInit, OnDestroy{
} }
chgUILanguage(){ chgUILanguage(){
console.log('LISTORDERS.chgUILanguage Called '); //console.log('LISTORDERS.chgUILanguage Called ');
this.languageService.getViewElements('listorders').subscribe( this.languageService.getViewElements('listorders').subscribe({
response => { next: response => {
console.log('Received >> ', response ); //console.log('Received >> ', response );
console.log('Language Code : ', response.language); //console.log('Language Code : ', response.language);
console.log('Component Name : ',response.component); //console.log('Component Name : ',response.component);
console.log('Language data : ',response.data); //console.log('Language data : ',response.data);
this.vE.listordersBacktoshopBtn = response.data.listorders_backtoshop_btn; this.vE.listordersBacktoshopBtn = response.data.listorders_backtoshop_btn;
this.vE.listordersExportOrders = response.data.listorders_export_orders; this.vE.listordersExportOrders = response.data.listorders_export_orders;
this.vE.listordersTodaysTotal = response.data.listorders_todays_total; this.vE.listordersTodaysTotal = response.data.listorders_todays_total;
this.vE.listordersOverallTotal = response.data.listorders_overall_total; this.vE.listordersOverallTotal = response.data.listorders_overall_total;
this.vE.listordersOrderId = response.data.listorders_order_id; this.vE.listordersOrderId = response.data.listorders_order_id;
this.vE.listordersOrderTotal = response.data.listorders_order_total; this.vE.listordersOrderTotal = response.data.listorders_order_total;
this.vE.listordersItemLbl = response.data.listorders_item_lbl; this.vE.listordersItemLbl = response.data.listorders_item_lbl;
this.vE.listordersQtyLbl = response.data.listorders_qty_lbl; this.vE.listordersQtyLbl = response.data.listorders_qty_lbl;
this.vE.listordersTotalLbl = response.data.listorders_total_lbl; this.vE.listordersTotalLbl = response.data.listorders_total_lbl;
this.vE.listordersInvoiceBtn = response.data.listorders_invoice_btn; this.vE.listordersInvoiceBtn = response.data.listorders_invoice_btn;
this.vE.listordersReceiptBtn = response.data.listorders_receipt_btn; this.vE.listordersReceiptBtn = response.data.listorders_receipt_btn;
this.vE.listordersNoOrders = response.data.listorders_no_orders; this.vE.listordersNoOrders = response.data.listorders_no_orders;
this.vE.listordersEndDate = response.data.listorders_end_date; this.vE.listordersEndDate = response.data.listorders_end_date;
}, },
error => { console.log('Error >> ',error); } error: error => { console.log('Error >> ',error); }
); });
} }
paySession() { paySession() {
const dialogConfig = new MatDialogConfig(); const dialogConfig = new MatDialogConfig();