[grid report] round currency values
This commit is contained in:
parent
568910ef7a
commit
b802050cd4
@ -162,6 +162,8 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
|
||||
me.round_item_values(item);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -119,7 +119,7 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
|
||||
|
||||
var qty_diff = sl.qty;
|
||||
var value_diff = me.get_value_diff(wh, sl, is_fifo);
|
||||
|
||||
|
||||
if(sl_posting_date < from_date) {
|
||||
item.opening_qty += qty_diff;
|
||||
item.opening_value += value_diff;
|
||||
@ -146,6 +146,8 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
|
||||
me.round_item_values(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user