From f0cfe98860b468a7ca72c6094d871a630bf4adec Mon Sep 17 00:00:00 2001 From: deepeshgarg007 Date: Mon, 28 Jan 2019 17:58:44 +0530 Subject: [PATCH] fix: Added missing semicolon and removed null from parameter --- erpnext/accounts/page/pos/pos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/page/pos/pos.js b/erpnext/accounts/page/pos/pos.js index 17d6d0ddfc..1dcbdc6789 100755 --- a/erpnext/accounts/page/pos/pos.js +++ b/erpnext/accounts/page/pos/pos.js @@ -1039,7 +1039,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({ this.numeric_keypad.show(); }, - make_item_list: function (customer=null) { + make_item_list: function (customer) { var me = this; if (!this.price_list) { frappe.msgprint(__("Price List not found or disabled")); @@ -1428,7 +1428,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({ ? this.item_serial_no[this.child.item_code][1] : (this.pos_profile_data['warehouse'] || this.items[0].default_warehouse)); customer = this.frm.doc.customer; - let rate + let rate; customer_price_list = this.customer_wise_price_list[customer] if (customer_price_list && customer_price_list[this.child.item_code]){