mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 08:35:00 +00:00
[fix] newsletter progress percentage
This commit is contained in:
@@ -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", [
|
||||
|
||||
Reference in New Issue
Block a user