[fix] newsletter progress percentage

This commit is contained in:
Anand Doshi 2016-05-26 16:41:14 +05:30
parent ac7c81bb98
commit 07dfb475ca

View File

@ -38,7 +38,7 @@ cur_frm.cscript.setup_dashboard = function() {
var total = frappe.utils.sum($.map(stat, function(v) { return v; }));
if(total) {
$.each(stat, function(k, v) {
stat[k] = flt(v * 100 / total, 2);
stat[k] = flt(v * 100 / total, 2) + '%';
});
cur_frm.dashboard.add_progress("Status", [