From beb7c346ea844ec05521ab4c9362834bf2a6c9d1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 28 May 2015 11:12:29 +0530 Subject: [PATCH] [fix] [cleanup] --- erpnext/public/js/pos/pos.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/erpnext/public/js/pos/pos.js b/erpnext/public/js/pos/pos.js index da82ba2280..164e88359d 100644 --- a/erpnext/public/js/pos/pos.js +++ b/erpnext/public/js/pos/pos.js @@ -463,7 +463,6 @@ erpnext.pos.PointOfSale = Class.extend({ var me = this; dialog.set_primary_action(__("Pay"), function() { var values = dialog.get_values(); - console.log(values); var is_cash = values.mode_of_payment === __("Cash"); if (!is_cash) { values.write_off_amount = values.change = 0.0; @@ -514,8 +513,6 @@ erpnext.pos.toggle = function(frm, show) { } } - console.log(frm.page.current_view_name); - if(frm.page.current_view_name!=="pos") { // before switching, ask for pos name if(!price_list) {