chore: resolve undefined variables issue

This commit is contained in:
Deepesh Garg
2023-07-22 23:07:18 +05:30
parent 0b1e78e127
commit 4077254b01
11 changed files with 17 additions and 21 deletions

View File

@@ -637,7 +637,7 @@ erpnext.utils.update_child_items = function(opts) {
})
}
new frappe.ui.Dialog({
let dialog = new frappe.ui.Dialog({
title: __("Update Items"),
size: "extra-large",
fields: [
@@ -674,7 +674,9 @@ erpnext.utils.update_child_items = function(opts) {
refresh_field("items");
},
primary_action_label: __('Update')
}).show();
})
dialog.show();
}
erpnext.utils.map_current_doc = function(opts) {