fix: syntax error in serial/batch selector (#26024)
diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js
index 02b5ef3..597d77c 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 @@
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 @@
total_selected_qty_field.set_input(total_selected_qty);
}
- get_batch_fields: function() {
+ get_batch_fields() {
var me = this;
return [
@@ -537,7 +537,7 @@
}
];
}
-});
+};
function get_pending_qty_fields(me) {
if (!check_can_calculate_pending_qty(me)) return [];