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
|
|
|
|
|
|
|
|
2015-02-17 14:23:23 +00:00
|
|
|
frappe.pages['stock-analytics'].on_page_load = function(wrapper) {
|
2014-02-14 10:17:51 +00:00
|
|
|
frappe.ui.make_app_page({
|
2012-12-25 13:05:12 +00:00
|
|
|
parent: wrapper,
|
2014-04-14 10:55:30 +00:00
|
|
|
title: __('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
|
|
|
|
2015-03-09 10:17:15 +00:00
|
|
|
frappe.breadcrumbs.add("Stock")
|
2012-12-25 12:34:10 +00:00
|
|
|
|
2015-02-17 14:23:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
frappe.require("assets/erpnext/js/stock_analytics.js");
|