Merge branch 'master' of github.com:webnotes/wnframework into responsive

This commit is contained in:
Anand Doshi 2013-06-26 13:56:59 +05:30
commit ed8bf87811

View file

@ -307,7 +307,16 @@ wn.views.GridReport = Class.extend({
var me = this;
$.each(this.columns, function(i, col) {
if (col.formatter==me.currency_formatter) {
item[col.id] = 0;
item[col.id] = 0.0;
}
});
},
round_item_values: function(item) {
var me = this;
$.each(this.columns, function(i, col) {
if (col.formatter==me.currency_formatter) {
item[col.id] = flt(item[col.id], wn.defaults.get_default("float_precision") || 6);
}
});
},