mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 10:41:21 +00:00
added moduleview
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
<div class="layout-wrapper layout-wrapper-background">
|
||||
<div class="appframe-area"></div>
|
||||
<div class="layout-main-section">
|
||||
<div style="width: 48%; float: left;">
|
||||
<h5><a href="#List/Production Order">Production Order</a></h5>
|
||||
<p class="help">Orders for manufacturing</p>
|
||||
<br>
|
||||
<h5><a href="#Form/Production Planning Tool/Production Planning Tool">Production Plan</a></h5>
|
||||
<p class="help">Generate Purchase Requisition (MRP) and Production Orders</p>
|
||||
</div>
|
||||
<div style="width: 48%; float: right;">
|
||||
<h5><a href="#List/BOM">Bill of Materials</a></h5>
|
||||
<p class="help">Bill of Materials (BOM) Master</p>
|
||||
<br>
|
||||
<h5><a href="#List/Item">Item</a></h5>
|
||||
<p class="help">Item Master</p>
|
||||
</div>
|
||||
<div style="clear: both"></div>
|
||||
<hr>
|
||||
<h4>Reports</h4>
|
||||
<div class="reports-list"></div>
|
||||
</div>
|
||||
<div class="layout-side-section">
|
||||
<div class="psidebar">
|
||||
<div class="section">
|
||||
<div class="section-head">Tools</div>
|
||||
<div class="section-body">
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "BOM Replace Tool"
|
||||
href="#Form/BOM Replace Tool">BOM Replace Tool</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="section-head">Setup</div>
|
||||
<div class="section-body">
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Workstation master"
|
||||
href="#List/Workstation">Workstations</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
@@ -1,20 +1,65 @@
|
||||
// ERPNext - web based ERP (http://erpnext.com)
|
||||
// Copyright (C) 2012 Web Notes Technologies Pvt Ltd
|
||||
//
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd
|
||||
// GNU General Public License. See "license.txt"
|
||||
|
||||
wn.module_page["Manufacturing"] = [
|
||||
{
|
||||
title: wn._("Documents"),
|
||||
icon: "icon-copy",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Production Order"),
|
||||
description: wn._("Orders released for production."),
|
||||
doctype:"Production Order"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Production Planning (MRP)"),
|
||||
icon: "icon-wrench",
|
||||
items: [
|
||||
{
|
||||
"route":"Form/Production Planning Tool/Production Planning Tool",
|
||||
"label":wn._("Production Planning Tool"),
|
||||
"description":wn._("Generate Purchase Requests (MRP) and Production Orders."),
|
||||
doctype: "Production Planning Tool"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Masters"),
|
||||
icon: "icon-book",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Bill of Materials"),
|
||||
description: wn._("Bill of Materials (BOM)"),
|
||||
doctype:"BOM"
|
||||
},
|
||||
{
|
||||
label: wn._("Item"),
|
||||
description: wn._("All Products or Services."),
|
||||
doctype:"Item"
|
||||
},
|
||||
{
|
||||
label: wn._("Workstation"),
|
||||
description: wn._("Where manufacturing operations are carried out."),
|
||||
doctype:"Workstation"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Utility"),
|
||||
icon: "icon-wrench",
|
||||
items: [
|
||||
{
|
||||
"route":"Form/BOM Replace Tool/BOM Replace Tool",
|
||||
"label":wn._("BOM Replace Tool"),
|
||||
"description":wn._("Replace Item / BOM in all BOMs"),
|
||||
doctype: "BOM Replace Tool"
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
pscript['onload_manufacturing-home'] = function(wrapper) {
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Manufacturing');
|
||||
erpnext.module_page.setup_page('Manufacturing', wrapper);
|
||||
wn.views.moduleview.make(wrapper, "Manufacturing");
|
||||
}
|
||||
Reference in New Issue
Block a user