[fix] currecny symbol for customer's total annual billing, total unpaid amount

This commit is contained in:
Rohit Waghchaure
2016-12-05 17:09:30 +05:30
parent 12a396ef25
commit c857f37f3a
2 changed files with 5 additions and 3 deletions

View File

@@ -112,9 +112,9 @@ $.extend(erpnext.utils, {
if(frm.doc.__onload && frm.doc.__onload.dashboard_info) {
var info = frm.doc.__onload.dashboard_info;
frm.dashboard.add_indicator(__('Annual Billing: {0}',
[format_currency(info.billing_this_year, frm.doc.default_currency)]), 'blue');
[format_currency(info.billing_this_year, info.currency)]), 'blue');
frm.dashboard.add_indicator(__('Total Unpaid: {0}',
[format_currency(info.total_unpaid, frm.doc.default_currency)]),
[format_currency(info.total_unpaid, info.currency)]),
info.total_unpaid ? 'orange' : 'green');
}
},