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