mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
added moduleview
This commit is contained in:
@@ -1,20 +1,167 @@
|
||||
// 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["Selling"] = [
|
||||
{
|
||||
title: wn._("Documents"),
|
||||
icon: "icon-copy",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Lead"),
|
||||
description: wn._("Database of potential customers."),
|
||||
doctype:"Lead"
|
||||
},
|
||||
{
|
||||
label: wn._("Opportunity"),
|
||||
description: wn._("Potential opportunities for selling."),
|
||||
doctype:"Opportunity"
|
||||
},
|
||||
{
|
||||
label: wn._("Quotation"),
|
||||
description: wn._("Quotes to Leads or Customers."),
|
||||
doctype:"Quotation"
|
||||
},
|
||||
{
|
||||
label: wn._("Sales Order"),
|
||||
description: wn._("Confirmed orders from Customers."),
|
||||
doctype:"Sales Order"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Masters"),
|
||||
icon: "icon-book",
|
||||
items: [
|
||||
{
|
||||
label: wn._("Customer"),
|
||||
description: wn._("Customer database."),
|
||||
doctype:"Customer"
|
||||
},
|
||||
{
|
||||
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._("Sales Taxes and Charges Master"),
|
||||
description: wn._("Sales taxes template."),
|
||||
doctype:"Sales Taxes and Charges Master"
|
||||
},
|
||||
{
|
||||
label: wn._("Price List"),
|
||||
description: wn._("Mupltiple Item prices."),
|
||||
doctype:"Price List"
|
||||
},
|
||||
{
|
||||
label: wn._("Sales BOM"),
|
||||
description: wn._("Bundle items at time of sale."),
|
||||
doctype:"Sales BOM"
|
||||
},
|
||||
{
|
||||
label: wn._("Terms and Conditions"),
|
||||
description: wn._("Template of terms or contract."),
|
||||
doctype:"Terms and Conditions"
|
||||
},
|
||||
{
|
||||
label: wn._("Customer Group"),
|
||||
description: wn._("Customer classification tree."),
|
||||
route: "Sales Browser/Customer Group",
|
||||
doctype:"Customer Group"
|
||||
},
|
||||
{
|
||||
label: wn._("Territory"),
|
||||
description: wn._("Sales territories."),
|
||||
route: "Sales Browser/Territory",
|
||||
doctype:"Territory"
|
||||
},
|
||||
{
|
||||
"route":"Sales Browser/Sales Person",
|
||||
"label":wn._("Sales Person"),
|
||||
"description": wn._("Sales persons and targets"),
|
||||
doctype:"Sales Person"
|
||||
},
|
||||
{
|
||||
"route":"List/Sales Partner",
|
||||
"label": wn._("Sales Partner"),
|
||||
"description":wn._("Commission partners and targets"),
|
||||
doctype:"Sales Partner"
|
||||
},
|
||||
{
|
||||
"route":"Sales Browser/Item Group",
|
||||
"label":wn._("Item Group"),
|
||||
"description": wn._("Tree of item classification"),
|
||||
doctype:"Item Group"
|
||||
},
|
||||
{
|
||||
"route":"List/Campaign",
|
||||
"label":wn._("Campaign"),
|
||||
"description":wn._("Sales campaigns"),
|
||||
doctype:"Campaign"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Tools"),
|
||||
icon: "icon-wrench",
|
||||
items: [
|
||||
{
|
||||
"route":"Form/Sales and Purchase Return Tool/Sales and Purchase Return Tool",
|
||||
"label":wn._("Sales Returns"),
|
||||
"description":wn._("Helper for managing return of goods (sales or purchase)"),
|
||||
doctype: "Sales and Purchase Return Tool"
|
||||
},
|
||||
{
|
||||
"route":"Form/SMS Center/SMS Center",
|
||||
"label":wn._("SMS Center"),
|
||||
"description":wn._("Send mass SMS to your contacts"),
|
||||
doctype:"SMS Center"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Analytics"),
|
||||
right: true,
|
||||
icon: "icon-bar-chart",
|
||||
items: [
|
||||
{
|
||||
"label":wn._("Sales Analytics"),
|
||||
page: "sales-analytics"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: wn._("Reports"),
|
||||
right: true,
|
||||
icon: "icon-list",
|
||||
items: [
|
||||
{
|
||||
"label":wn._("Customer Addresses and Contacts"),
|
||||
route: "query-report/Customer Addresses and Contacts"
|
||||
},
|
||||
{
|
||||
"label":wn._("Sales Orders Pending to be Delivered"),
|
||||
route: "query-report/Sales Orders Pending to be Delivered"
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
pscript['onload_selling-home'] = function(wrapper) {
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Selling');
|
||||
erpnext.module_page.setup_page('Selling', wrapper);
|
||||
wn.views.moduleview.make(wrapper, "Selling");
|
||||
}
|
||||
Reference in New Issue
Block a user