[fix] [minor] round off currency values in grid reports

This commit is contained in:
Anand Doshi 2013-08-12 17:32:47 +05:30
parent f066f7166b
commit 5476318030
3 changed files with 1 additions and 5 deletions

View File

@ -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();

View File

@ -149,8 +149,6 @@ erpnext.StockAnalytics = erpnext.StockGridReport.extend({
} else { } else {
break; break;
} }
me.round_item_values(item);
} }
} }
}, },

View File

@ -133,8 +133,6 @@ erpnext.StockBalance = erpnext.StockAnalytics.extend({
} else { } else {
break; break;
} }
me.round_item_values(item);
} }
} }