2013-08-05 14:59:54 +05:30
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
|
|
// License: GNU General Public License v3. See license.txt
|
2012-09-21 19:46:24 +05:30
|
|
|
|
|
|
|
|
2012-12-25 18:35:12 +05:30
|
|
|
wn.pages['stock-analytics'].onload = function(wrapper) {
|
|
|
|
wn.ui.make_app_page({
|
|
|
|
parent: wrapper,
|
2013-10-03 15:41:49 -03:00
|
|
|
title: wn._('Stock Analytics'),
|
2012-12-25 18:35:12 +05:30
|
|
|
single_column: true
|
|
|
|
});
|
2012-12-25 18:04:10 +05:30
|
|
|
|
2012-12-25 18:35:12 +05:30
|
|
|
new erpnext.StockAnalytics(wrapper);
|
2012-12-25 18:04:10 +05:30
|
|
|
|
2012-12-25 18:35:12 +05:30
|
|
|
wrapper.appframe.add_home_breadcrumb()
|
2013-04-19 13:01:32 +05:30
|
|
|
wrapper.appframe.add_module_icon("Stock")
|
2012-12-25 18:35:12 +05:30
|
|
|
wrapper.appframe.add_breadcrumb("icon-bar-chart")
|
2012-12-25 18:04:10 +05:30
|
|
|
}
|
|
|
|
|
2012-12-25 18:35:12 +05:30
|
|
|
wn.require("app/js/stock_analytics.js");
|