mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
appframe fixes
This commit is contained in:
@@ -22,7 +22,9 @@ wn.pages['sales-analytics'].onload = function(wrapper) {
|
||||
});
|
||||
new erpnext.SalesAnalytics(wrapper);
|
||||
|
||||
wrapper.appframe.add_module_tab("Selling");
|
||||
wrapper.appframe.add_home_breadcrumb()
|
||||
wrapper.appframe.add_module_breadcrumb("Selling")
|
||||
wrapper.appframe.add_breadcrumb("icon-bar-chart")
|
||||
}
|
||||
|
||||
erpnext.SalesAnalytics = wn.views.TreeGridReport.extend({
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
|
||||
pscript['onload_Sales Browser'] = function(wrapper){
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'));
|
||||
wrapper.appframe.add_module_tab("Selling");
|
||||
wrapper.appframe.add_home_breadcrumb()
|
||||
wrapper.appframe.add_module_breadcrumb("Selling")
|
||||
|
||||
wrapper.appframe.add_button('Refresh', function() {
|
||||
wrapper.make_tree();
|
||||
|
||||
Reference in New Issue
Block a user