[accounts] [feature] added default_cash_account in company and gets set in Journal Voucher
diff --git a/accounts/doctype/journal_voucher/journal_voucher.js b/accounts/doctype/journal_voucher/journal_voucher.js
index 4edbed5..82322c8 100644
--- a/accounts/doctype/journal_voucher/journal_voucher.js
+++ b/accounts/doctype/journal_voucher/journal_voucher.js
@@ -154,7 +154,8 @@
if(r.message) {
var jvdetail = wn.model.add_child(doc, "Journal Voucher Detail", "entries");
jvdetail.account = r.message.account;
- jvdetail.balance = r.message.balance;
+ // this is a data field????
+ jvdetail.balance = format_currency(r.message.balance);
refresh_field("entries");
}
}