mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
style: code styling fixes
This commit is contained in:
@@ -34,9 +34,11 @@ erpnext.stock.ItemDashboard = Class.extend({
|
|||||||
let disable_quick_entry = Number(unescape($(this).attr('data-disable_quick_entry')));
|
let disable_quick_entry = Number(unescape($(this).attr('data-disable_quick_entry')));
|
||||||
let rate = unescape($(this).attr('data-rate'));
|
let rate = unescape($(this).attr('data-rate'));
|
||||||
|
|
||||||
if (disable_quick_entry) open_stock_entry(item, warehouse);
|
if (disable_quick_entry) {
|
||||||
|
open_stock_entry(item, warehouse);
|
||||||
else erpnext.stock.move_item(item, null, warehouse, actual_qty, rate, function() { me.refresh(); })
|
} else {
|
||||||
|
erpnext.stock.move_item(item, null, warehouse, actual_qty, rate, function() { me.refresh(); })
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function open_stock_entry(item, warehouse, entry_type) {
|
function open_stock_entry(item, warehouse, entry_type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user