brotherton-erpnext/erpnext/selling/page/selling_home/selling_home.js

239 lines
5.9 KiB
JavaScript
Raw Normal View History

2013-11-20 07:29:58 +00:00
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt"
2013-01-09 11:09:27 +00:00
2014-02-14 10:17:51 +00:00
frappe.module_page["Selling"] = [
2013-01-09 11:09:27 +00:00
{
2013-07-01 11:45:23 +00:00
top: true,
2014-02-14 10:17:51 +00:00
title: frappe._("Documents"),
2013-01-09 11:09:27 +00:00
icon: "icon-copy",
items: [
{
2014-02-14 10:17:51 +00:00
label: frappe._("Customer"),
description: frappe._("Customer database."),
doctype:"Customer"
},
2013-01-09 11:09:27 +00:00
{
2014-02-14 10:17:51 +00:00
label: frappe._("Lead"),
description: frappe._("Database of potential customers."),
2013-01-09 11:09:27 +00:00
doctype:"Lead"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Opportunity"),
description: frappe._("Potential opportunities for selling."),
2013-01-09 11:09:27 +00:00
doctype:"Opportunity"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Quotation"),
description: frappe._("Quotes to Leads or Customers."),
2013-01-09 11:09:27 +00:00
doctype:"Quotation"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Sales Order"),
description: frappe._("Confirmed orders from Customers."),
2013-01-09 11:09:27 +00:00
doctype:"Sales Order"
},
]
},
{
2014-02-14 10:17:51 +00:00
title: frappe._("Masters"),
2013-01-09 11:09:27 +00:00
icon: "icon-book",
items: [
{
2014-02-14 10:17:51 +00:00
label: frappe._("Contact"),
description: frappe._("All Contacts."),
2013-01-09 11:09:27 +00:00
doctype:"Contact"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Address"),
description: frappe._("All Addresses."),
2013-01-09 11:09:27 +00:00
doctype:"Address"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Item"),
description: frappe._("All Products or Services."),
2013-01-09 11:09:27 +00:00
doctype:"Item"
},
]
},
{
2014-02-14 10:17:51 +00:00
title: frappe._("Setup"),
2013-01-09 11:09:27 +00:00
icon: "icon-cog",
items: [
2013-06-25 06:16:07 +00:00
{
2014-02-14 10:17:51 +00:00
"label": frappe._("Selling Settings"),
2013-06-25 06:16:07 +00:00
"route": "Form/Selling Settings",
"doctype":"Selling Settings",
2014-02-14 10:17:51 +00:00
"description": frappe._("Settings for Selling Module")
2013-06-25 06:16:07 +00:00
},
2013-01-09 11:09:27 +00:00
{
2014-02-14 10:17:51 +00:00
label: frappe._("Sales Taxes and Charges Master"),
description: frappe._("Sales taxes template."),
2013-01-09 11:09:27 +00:00
doctype:"Sales Taxes and Charges Master"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Shipping Rules"),
description: frappe._("Rules to calculate shipping amount for a sale"),
doctype:"Shipping Rule"
},
2013-01-09 11:09:27 +00:00
{
2014-02-14 10:17:51 +00:00
label: frappe._("Price List"),
description: frappe._("Multiple Price list."),
2013-01-09 11:09:27 +00:00
doctype:"Price List"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Item Price"),
description: frappe._("Multiple Item prices."),
doctype:"Item Price"
},
2013-01-09 11:09:27 +00:00
{
2014-02-14 10:17:51 +00:00
label: frappe._("Sales BOM"),
description: frappe._("Bundle items at time of sale."),
2013-01-09 11:09:27 +00:00
doctype:"Sales BOM"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Terms and Conditions"),
description: frappe._("Template of terms or contract."),
2013-01-09 11:09:27 +00:00
doctype:"Terms and Conditions"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Customer Group"),
description: frappe._("Customer classification tree."),
2013-01-09 11:09:27 +00:00
route: "Sales Browser/Customer Group",
doctype:"Customer Group"
},
{
2014-02-14 10:17:51 +00:00
label: frappe._("Territory"),
description: frappe._("Sales territories."),
2013-01-09 11:09:27 +00:00
route: "Sales Browser/Territory",
doctype:"Territory"
},
{
"route":"Sales Browser/Sales Person",
2014-02-14 10:17:51 +00:00
"label":frappe._("Sales Person"),
"description": frappe._("Sales persons and targets"),
2013-01-09 11:09:27 +00:00
doctype:"Sales Person"
},
{
"route":"List/Sales Partner",
2014-02-14 10:17:51 +00:00
"label": frappe._("Sales Partner"),
"description":frappe._("Commission partners and targets"),
2013-01-09 11:09:27 +00:00
doctype:"Sales Partner"
},
{
"route":"Sales Browser/Item Group",
2014-02-14 10:17:51 +00:00
"label":frappe._("Item Group"),
"description": frappe._("Tree of item classification"),
2013-01-09 11:09:27 +00:00
doctype:"Item Group"
},
{
"route":"List/Campaign",
2014-02-14 10:17:51 +00:00
"label":frappe._("Campaign"),
"description":frappe._("Sales campaigns"),
2013-01-09 11:09:27 +00:00
doctype:"Campaign"
},
]
},
{
2014-02-14 10:17:51 +00:00
title: frappe._("Tools"),
2013-01-09 11:09:27 +00:00
icon: "icon-wrench",
items: [
{
"route":"Form/SMS Center/SMS Center",
2014-02-14 10:17:51 +00:00
"label":frappe._("SMS Center"),
"description":frappe._("Send mass SMS to your contacts"),
2013-01-09 11:09:27 +00:00
doctype:"SMS Center"
},
]
},
{
2014-02-14 10:17:51 +00:00
title: frappe._("Analytics"),
2013-01-09 11:09:27 +00:00
right: true,
icon: "icon-bar-chart",
items: [
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Sales Analytics"),
2013-01-09 11:09:27 +00:00
page: "sales-analytics"
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Sales Funnel"),
page: "sales-funnel"
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Customer Acquisition and Loyalty"),
route: "query-report/Customer Acquisition and Loyalty",
doctype: "Customer"
},
2013-01-09 11:09:27 +00:00
]
},
{
2014-02-14 10:17:51 +00:00
title: frappe._("Reports"),
2013-01-09 11:09:27 +00:00
right: true,
icon: "icon-list",
items: [
2013-10-22 06:41:20 +00:00
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Lead Details"),
2013-10-22 06:41:20 +00:00
route: "query-report/Lead Details",
doctype: "Lead"
},
2013-01-09 11:09:27 +00:00
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Customer Addresses And Contacts"),
route: "query-report/Customer Addresses And Contacts",
doctype: "Contact"
2013-01-09 11:09:27 +00:00
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Ordered Items To Be Delivered"),
2013-07-08 06:03:09 +00:00
route: "query-report/Ordered Items To Be Delivered",
doctype: "Sales Order"
2013-01-09 11:09:27 +00:00
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Sales Person-wise Transaction Summary"),
route: "query-report/Sales Person-wise Transaction Summary",
doctype: "Sales Order"
},
2013-05-03 09:20:12 +00:00
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Item-wise Sales History"),
route: "query-report/Item-wise Sales History",
doctype: "Item"
2013-05-03 09:20:12 +00:00
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Territory Target Variance (Item Group-Wise)"),
route: "query-report/Territory Target Variance Item Group-Wise",
doctype: "Territory"
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Sales Person Target Variance (Item Group-Wise)"),
route: "query-report/Sales Person Target Variance Item Group-Wise",
doctype: "Sales Person",
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Customers Not Buying Since Long Time"),
route: "query-report/Customers Not Buying Since Long Time",
doctype: "Sales Order"
},
2013-06-07 12:35:16 +00:00
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Quotation Trend"),
2013-06-07 12:35:16 +00:00
route: "query-report/Quotation Trends",
doctype: "Quotation"
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Sales Order Trend"),
route: "query-report/Sales Order Trends",
2013-06-07 12:35:16 +00:00
doctype: "Sales Order"
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Available Stock for Packing Items"),
route: "query-report/Available Stock for Packing Items",
doctype: "Item",
2013-06-25 05:38:19 +00:00
},
{
2014-02-14 10:17:51 +00:00
"label":frappe._("Pending SO Items For Purchase Request"),
route: "query-report/Pending SO Items For Purchase Request",
doctype: "Sales Order"
},
2013-01-09 11:09:27 +00:00
]
}
]
2012-02-23 07:05:32 +00:00
2012-02-20 13:00:52 +00:00
pscript['onload_selling-home'] = function(wrapper) {
2014-02-14 10:17:51 +00:00
frappe.views.moduleview.make(wrapper, "Selling");
2012-02-20 13:00:52 +00:00
}