mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
accounts_browser: fix for number formatting
This commit is contained in:
@@ -52,6 +52,6 @@ def get_children():
|
|||||||
currency = webnotes.conn.sql("select default_currency from `tabCompany` where name = %s", company)[0][0]
|
currency = webnotes.conn.sql("select default_currency from `tabCompany` where name = %s", company)[0][0]
|
||||||
for each in acc:
|
for each in acc:
|
||||||
bal = get_balance_on(each.get("value"))
|
bal = get_balance_on(each.get("value"))
|
||||||
each['balance'] = currency + ' ' + fmt_money(bal)
|
each['balance'] = currency + ' ' + str(bal or 0)
|
||||||
|
|
||||||
return acc
|
return acc
|
||||||
|
|||||||
Reference in New Issue
Block a user