From d85247cd7af6d63a553ad143acb801ac225fb204 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Thu, 1 Feb 2018 17:18:38 +0530 Subject: [PATCH] [Fix] Pay button not working in pos --- erpnext/selling/page/point_of_sale/point_of_sale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/page/point_of_sale/point_of_sale.js b/erpnext/selling/page/point_of_sale/point_of_sale.js index f5bc6c2499..357475d479 100644 --- a/erpnext/selling/page/point_of_sale/point_of_sale.js +++ b/erpnext/selling/page/point_of_sale/point_of_sale.js @@ -1268,7 +1268,7 @@ class NumberPad { this.disable_highlight = disable_highlight; this.reset_btns = reset_btns; this.del_btn = del_btn; - this.disable_btns = disable_btns; + this.disable_btns = disable_btns || []; this.make_dom(); this.bind_events(); this.value = '';