mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 05:58:27 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -193,6 +193,12 @@ wn.pages.todo.onload = function(wrapper) {
|
||||
date:get_today(), priority:'Medium', checked:0, description:''});
|
||||
}, 'icon-plus');
|
||||
wrapper.appframe.add_ripped_paper_effect(wrapper);
|
||||
|
||||
// show report button for System Manager
|
||||
if(wn.boot.profile.roles.indexOf("System Manager") !== -1) {
|
||||
wrapper.appframe.add_button("Report", function() { wn.set_route("query-report", "todo"); },
|
||||
"icon-table");
|
||||
}
|
||||
|
||||
// load todos
|
||||
erpnext.todo.refresh();
|
||||
|
||||
Reference in New Issue
Block a user