Show general/stock ledger button links to new query reports

This commit is contained in:
Nabin Hait
2013-12-23 17:07:57 +05:30
parent facde47c6c
commit c38527ef5f
9 changed files with 45 additions and 19 deletions

View File

@@ -95,9 +95,10 @@ cur_frm.cscript.add_toolbar_buttons = function(doc) {
wn.route_options = {
"account": doc.name,
"from_date": sys_defaults.year_start_date,
"to_date": sys_defaults.year_end_date
"to_date": sys_defaults.year_end_date,
"company": doc.company
};
wn.set_route("general-ledger");
wn.set_route("query-report", "General Ledger");
}, "icon-table");
}
}