formatted money in chart of accounts tree

This commit is contained in:
Anand Doshi 2012-06-29 19:03:59 +05:30
parent 08faf5bb7f
commit 351352670e

View File

@ -102,7 +102,7 @@ erpnext.AccountsChart = Class.extend({
if (ctype == 'Account') {
var bal = treenode.data && treenode.data.balance.split(' ') || ['',''];
treenode.parent.append('<span class="balance-area"><span style="color: #aaa">'+ bal[0] + '</span> '
+ bal[1] + '</span>');
+ fmt_money(bal[1]) + '</span>');
}
}
});