mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
closing = opening + diff for stock balance report
This commit is contained in:
@@ -130,6 +130,12 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// opening + diff = closing
|
||||||
|
// adding opening, since diff already added to closing
|
||||||
|
$.each(me.item_by_name, function(key, item) {
|
||||||
|
item.closing += item.opening;
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
update_groups: function() {
|
update_groups: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user