style: code styling fixes
diff --git a/erpnext/stock/dashboard/item_dashboard.js b/erpnext/stock/dashboard/item_dashboard.js
index c84acc5..3bca883 100644
--- a/erpnext/stock/dashboard/item_dashboard.js
+++ b/erpnext/stock/dashboard/item_dashboard.js
@@ -34,9 +34,11 @@
let disable_quick_entry = Number(unescape($(this).attr('data-disable_quick_entry')));
let rate = unescape($(this).attr('data-rate'));
- if (disable_quick_entry) open_stock_entry(item, warehouse);
-
- else erpnext.stock.move_item(item, null, warehouse, actual_qty, rate, function() { me.refresh(); })
+ if (disable_quick_entry) {
+ open_stock_entry(item, warehouse);
+ } else {
+ erpnext.stock.move_item(item, null, warehouse, actual_qty, rate, function() { me.refresh(); })
+ }
});
function open_stock_entry(item, warehouse, entry_type) {