mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
added moduleview
This commit is contained in:
@@ -1,90 +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/Purchase Request">Purchase Request</a></h5>
|
||||
<p class="help">Request for purchase</p>
|
||||
<br>
|
||||
<h5><a href="#List/Supplier Quotation">Supplier Quotation (beta)</a></h5>
|
||||
<p class="help">Track Quotations received from Suppliers</p>
|
||||
<br>
|
||||
<h5><a href="#List/Purchase Order">Purchase Order</a></h5>
|
||||
<p class="help">Purchase Orders given to Suppliers</p>
|
||||
</div>
|
||||
<div style="width: 48%; float: right;">
|
||||
<h5><a href="#List/Supplier">Supplier</a></h5>
|
||||
<p class="help">Supplier Master</p>
|
||||
<br>
|
||||
<h5><a href="#List/Item">Item</a></h5>
|
||||
<p class="help">Item Master</p>
|
||||
<br>
|
||||
<h5><a href="#List/Contact">Contact</a></h5>
|
||||
<p class="help">Contact Master</p>
|
||||
<br>
|
||||
<h5><a href="#List/Address">Address</a></h5>
|
||||
<p class="help">Address Master</p>
|
||||
</div>
|
||||
<div style="clear: both"></div>
|
||||
<hr>
|
||||
<h4>Reports</h4>
|
||||
<div style="width: 48%; float: left;">
|
||||
<h5><a href="#purchase-analytics" data-role="Analytics, Purchase Manager">
|
||||
Purchase Analytics</a>
|
||||
</h5>
|
||||
<p class="help">Purchase trends based on Purchase Invoice</p>
|
||||
</div>
|
||||
<div style="width: 48%; float: right;">
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
<hr>
|
||||
<div class="reports-list"></div>
|
||||
</div>
|
||||
<div class="layout-side-section">
|
||||
<div class="psidebar">
|
||||
<div class="section">
|
||||
<div class="section-head">Setup</div>
|
||||
<div class="section-body">
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Tax and charges structure master"
|
||||
href="#List/Purchase Taxes and Charges Master">Purchase Taxes and Charges Master</a>
|
||||
</div>
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Supplier classification"
|
||||
href="#List/Supplier Type">Supplier Type</a>
|
||||
</div>
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Tree of item classification"
|
||||
href="#Sales Browser/Item Group"
|
||||
data-role="Purchase Manager, Purchase Master Manager
|
||||
Accounts Manager">Item Group</a>
|
||||
</div>
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Helper for managing return of goods (sales or purchase)"
|
||||
href="#Form/Sales and Purchase Return Tool/Sales and Purchase Return Tool">Purchase Returns</a>
|
||||
</div>
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Terms of contract template"
|
||||
href="#List/Terms and Conditions">Terms and Conditions Template</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section">
|
||||
<div class="section-head">Tools</div>
|
||||
<div class="section-body">
|
||||
<div class="section-item">
|
||||
<a class="section-link"
|
||||
title = "Analyze Sales and Purchase trends and slice them based on item, customer, groups etc"
|
||||
href="#Report/Profile/Trend Analyzer">Trend Analyzer</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
</div>
|
||||
@@ -1,20 +1,106 @@
|
||||
// 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["Buying"] = [
|
||||
{
|
||||
title: wn._("Documents"),
|
||||
icon: "icon-copy",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Purchase Request"),
|
||||
description: wn._("Request for purchase."),
|
||||
doctype:"Purchase Request"
|
||||
},
|
||||
{
|
||||
label: wn._("Supplier Quotation"),
|
||||
description: wn._("Track Quotations received from Suppliers."),
|
||||
doctype:"Supplier Quotation"
|
||||
},
|
||||
{
|
||||
label: wn._("Purchase Order"),
|
||||
description: wn._("Purchase Orders given to Suppliers."),
|
||||
doctype:"Purchase Order"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Masters"),
|
||||
icon: "icon-book",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Supplier"),
|
||||
description: wn._("Supplier database."),
|
||||
doctype:"Supplier"
|
||||
},
|
||||
{
|
||||
label: wn._("Contact"),
|
||||
description: wn._("All Contacts."),
|
||||
doctype:"Contact"
|
||||
},
|
||||
{
|
||||
label: wn._("Address"),
|
||||
description: wn._("All Addresses."),
|
||||
doctype:"Address"
|
||||
},
|
||||
{
|
||||
label: wn._("Item"),
|
||||
description: wn._("All Products or Services."),
|
||||
doctype:"Item"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Setup"),
|
||||
icon: "icon-cog",
|
||||
items: [
|
||||
{
|
||||
"label": wn._("Purchase Taxes and Charges Master"),
|
||||
"doctype":"Purchase Taxes and Charges Master",
|
||||
"description": wn._("Tax Template for Purchase")
|
||||
},
|
||||
{
|
||||
"doctype":"Supplier Type",
|
||||
"label": wn._("Supplier Type"),
|
||||
"description": wn._("Supplier classification.")
|
||||
},
|
||||
{
|
||||
"route":"Sales Browser/Item Group",
|
||||
"label":wn._("Item Group"),
|
||||
"description": wn._("Tree of item classification"),
|
||||
doctype:"Item Group"
|
||||
},
|
||||
{
|
||||
label: wn._("Terms and Conditions"),
|
||||
description: wn._("Template of terms or contract."),
|
||||
doctype:"Terms and Conditions"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Tools"),
|
||||
icon: "icon-wrench",
|
||||
items: [
|
||||
{
|
||||
"route":"Form/Sales and Purchase Return Tool/Sales and Purchase Return Tool",
|
||||
"label":wn._("Purchase Returns"),
|
||||
"description":wn._("Helper for managing return of goods (sales or purchase)"),
|
||||
doctype: "Sales and Purchase Return Tool"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Analytics"),
|
||||
right: true,
|
||||
icon: "icon-bar-chart",
|
||||
items: [
|
||||
{
|
||||
"label":wn._("Purchase Analytics"),
|
||||
page: "purchase-analytics"
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
|
||||
pscript['onload_buying-home'] = function(wrapper) {
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Buying');
|
||||
erpnext.module_page.setup_page('Buying', wrapper);
|
||||
}
|
||||
wn.views.moduleview.make(wrapper, "Buying");
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
[
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-08-07 14:52:42",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2012-12-03 17:10:41"
|
||||
},
|
||||
{
|
||||
"name": "__common__",
|
||||
"ref_doctype": "Supplier Quotation",
|
||||
"doctype": "Report",
|
||||
"json": "{\"filters\":[[\"Supplier Quotation\",\"supplier\",\"like\",\"%%\"],[\"Supplier Quotation Item\",\"item_code\",\"like\",\"%%\"]],\"columns\":[[\"name\",\"Supplier Quotation\"],[\"supplier\",\"Supplier Quotation\"],[\"item_code\",\"Supplier Quotation Item\"],[\"description\",\"Supplier Quotation Item\"],[\"qty\",\"Supplier Quotation Item\"],[\"currency\",\"Supplier Quotation\"],[\"import_rate\",\"Supplier Quotation Item\"],[\"import_amount\",\"Supplier Quotation Item\"]],\"sort_by\":\"modified\",\"sort_order\":\"desc\",\"sort_by_next\":\"name\",\"sort_order_next\":\"desc\"}"
|
||||
},
|
||||
{
|
||||
"name": "Supplier Quotations",
|
||||
"doctype": "Report"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user