[fix] Dashboard in customer / supplier
This commit is contained in:
parent
f6aad5ed2d
commit
246e47e76e
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user