diff --git a/public/js/wn/form/formatters.js b/public/js/wn/form/formatters.js index 1ed15d9c3b..5d72cc6c2b 100644 --- a/public/js/wn/form/formatters.js +++ b/public/js/wn/form/formatters.js @@ -20,7 +20,7 @@ wn.form.formatters = { return value==null ? "": cint(value); }, Percent: function(value) { - return flt(value, 2) + "%"; + return "
" + flt(value, 2) + "%" + "
"; }, Currency: function(value, docfield, options, doc) { var currency = wn.meta.get_field_currency(docfield, doc); diff --git a/public/js/wn/views/query_report.js b/public/js/wn/views/query_report.js index ec92dcc609..318dd356d5 100644 --- a/public/js/wn/views/query_report.js +++ b/public/js/wn/views/query_report.js @@ -144,6 +144,7 @@ wn.views.QueryReport = Class.extend({ }) return wn.call({ method: "webnotes.widgets.query_report.run", + type: "GET", args: { "report_name": me.report_name, filters: filters