[fix] [minor] round off currency values in grid reports
This commit is contained in:
parent
f066f7166b
commit
5476318030
@ -138,7 +138,7 @@ erpnext.AccountTreeGrid = wn.views.TreeGridReport.extend({
|
|||||||
$.each(gl, function(i, v) {
|
$.each(gl, function(i, v) {
|
||||||
var posting_date = dateutil.str_to_obj(v.posting_date);
|
var posting_date = dateutil.str_to_obj(v.posting_date);
|
||||||
var account = me.item_by_name[v.account];
|
var account = me.item_by_name[v.account];
|
||||||
me.update_balances(account, posting_date, v)
|
me.update_balances(account, posting_date, v);
|
||||||
});
|
});
|
||||||
|
|
||||||
this.update_groups();
|
this.update_groups();
|
||||||
|
@ -149,8 +149,6 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({
|
|||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
me.round_item_values(item);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -133,8 +133,6 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
|
|||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
me.round_item_values(item);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user