From 348f04ca82635373935df6b28e3203e85f7d1e1a Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Fri, 11 Jun 2021 21:01:30 +0530 Subject: [PATCH] fix: syntax error in serial/batch selector (#26024) --- erpnext/public/js/utils/serial_no_batch_selector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js index 02b5ef3930..597d77c6e9 100644 --- a/erpnext/public/js/utils/serial_no_batch_selector.js +++ b/erpnext/public/js/utils/serial_no_batch_selector.js @@ -324,7 +324,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector { qty_field.set_input(total_qty); } - update_pending_qtys: function() { + update_pending_qtys() { const pending_qty_field = this.dialog.fields_dict.pending_qty; const total_selected_qty_field = this.dialog.fields_dict.total_selected_qty; @@ -340,7 +340,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector { total_selected_qty_field.set_input(total_selected_qty); } - get_batch_fields: function() { + get_batch_fields() { var me = this; return [ @@ -537,7 +537,7 @@ erpnext.SerialNoBatchSelector = class SerialNoBatchSelector { } ]; } -}); +}; function get_pending_qty_fields(me) { if (!check_can_calculate_pending_qty(me)) return [];