2015-03-03 09:25:30 +00:00
|
|
|
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
|
2013-08-05 09:29:54 +00:00
|
|
|
// License: GNU General Public License v3. See license.txt
|
2012-09-21 14:16:24 +00:00
|
|
|
|
2016-07-02 11:42:22 +00:00
|
|
|
frappe.pages['stock-analytics'].on_page_load = function(wrapper) {
|
|
|
|
frappe.ui.make_app_page({
|
|
|
|
parent: wrapper,
|
|
|
|
title: __('Stock Analytics'),
|
|
|
|
single_column: true
|
|
|
|
});
|
|
|
|
|
|
|
|
frappe.require(["assets/erpnext/js/stock_grid_report.js",
|
|
|
|
"assets/erpnext/js/stock_analytics.js"], function() {
|
2016-04-29 11:52:42 +00:00
|
|
|
new erpnext.StockAnalytics(wrapper);
|
|
|
|
frappe.breadcrumbs.add("Stock")
|
2016-07-02 11:42:22 +00:00
|
|
|
});
|
|
|
|
};
|