mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
[fix] Dashboard in customer / supplier
This commit is contained in:
@@ -46,6 +46,8 @@ cur_frm.cscript.make_dashboard = function(doc) {
|
|||||||
+ '</b> / <span class="text-muted">' + __("Total Unpaid") + ": <b>"
|
+ '</b> / <span class="text-muted">' + __("Total Unpaid") + ": <b>"
|
||||||
+ format_currency(r.message.total_unpaid, r.message.company_currency[0])
|
+ format_currency(r.message.total_unpaid, r.message.company_currency[0])
|
||||||
+ '</b></span>');
|
+ '</b></span>');
|
||||||
|
} else {
|
||||||
|
cur_frm.dashboard.set_headline("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cur_frm.dashboard.set_badge_count(r.message);
|
cur_frm.dashboard.set_badge_count(r.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user