2013-11-20 12:59:58 +05:30
|
|
|
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
2013-08-05 14:59:54 +05:30
|
|
|
// License: GNU General Public License v3. See license.txt
|
2012-09-21 19:46:24 +05:30
|
|
|
|
|
|
|
|
2014-02-14 15:47:51 +05:30
|
|
|
frappe.pages['stock-analytics'].onload = function(wrapper) {
|
|
|
|
frappe.ui.make_app_page({
|
2012-12-25 18:35:12 +05:30
|
|
|
parent: wrapper,
|
2014-04-14 16:25:30 +05:30
|
|
|
title: __('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
|
|
|
|
2013-11-13 16:55:38 +05:30
|
|
|
|
2013-04-19 13:01:32 +05:30
|
|
|
wrapper.appframe.add_module_icon("Stock")
|
2013-11-13 16:55:38 +05:30
|
|
|
|
2012-12-25 18:04:10 +05:30
|
|
|
}
|
|
|
|
|
2014-02-14 15:47:51 +05:30
|
|
|
frappe.require("assets/erpnext/js/stock_analytics.js");
|