[fix] Party balance field showing wrong currency symbol (#8832)

This commit is contained in:
rohitwaghchaure 2017-05-16 08:06:45 +05:30 committed by Nabin Hait
parent 59472e5449
commit d678809939

View File

@ -147,6 +147,7 @@ frappe.ui.form.on('Payment Entry', {
var currency_field = (frm.doc.payment_type=="Receive") ? "paid_from_account_currency" : "paid_to_account_currency"
frm.set_df_property("total_allocated_amount", "options", currency_field);
frm.set_df_property("unallocated_amount", "options", currency_field);
frm.set_df_property("party_balance", "options", currency_field);
frm.set_currency_labels(["total_amount", "outstanding_amount", "allocated_amount"],
party_account_currency, "references");