general_ledger: show against account, set title, and show is_opening as opening

This commit is contained in:
Rushabh Mehta
2012-11-13 11:42:42 +05:30
parent ec40686cc3
commit 9d0569a690
3 changed files with 42 additions and 10 deletions

View File

@@ -135,8 +135,7 @@ erpnext.AccountsChart = Class.extend({
show_ledger: function() {
var me = this;
var node = me.selected_node();
wn.set_route('Report', 'GL Entry', 'General Ledger',
this.ctype + '=' + node.data('label'));
wn.set_route("general-ledger", "account=" + node.data('label'));
},
new_node: function() {
if(this.ctype=='Account') {