fix(customer): Fix Total Unpaid amount in Customer dashboard (#16234)

This commit is contained in:
Rohan 2018-12-18 14:52:23 +05:30 committed by Rushabh Mehta
parent c4921d235a
commit 159897d88d

2
erpnext/public/js/utils.js Normal file → Executable file
View File

@ -126,7 +126,7 @@ $.extend(erpnext.utils, {
'</div><div class="col-xs-6 small" style="margin-bottom:10px">Annual Billing: <b>' '</div><div class="col-xs-6 small" style="margin-bottom:10px">Annual Billing: <b>'
+format_currency(company_wise_info[0].billing_this_year, company_wise_info[0].currency)+'</b></div>' + +format_currency(company_wise_info[0].billing_this_year, company_wise_info[0].currency)+'</b></div>' +
'<div class="col-xs-6 small" style="margin-bottom:10px">Total Unpaid: <b>' '<div class="col-xs-6 small" style="margin-bottom:10px">Total Unpaid: <b>'
+format_currency(company_wise_info[0].billing_this_year, company_wise_info[0].currency)+'</b></div>' +format_currency(company_wise_info[0].total_unpaid, company_wise_info[0].currency)+'</b></div>'
); );
} }
} }