mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
Module Home Pages using Module View
This commit is contained in:
@@ -1 +0,0 @@
|
||||
from __future__ import unicode_literals
|
||||
@@ -1,99 +0,0 @@
|
||||
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
// License: GNU General Public License v3. See license.txt"
|
||||
|
||||
frappe.module_page["Support"] = [
|
||||
{
|
||||
title: frappe._("Top"),
|
||||
top: true,
|
||||
icon: "icon-copy",
|
||||
items: [
|
||||
{
|
||||
label: frappe._("Support Ticket"),
|
||||
description: frappe._("Support queries from customers."),
|
||||
doctype:"Support Ticket"
|
||||
},
|
||||
{
|
||||
label: frappe._("Customer Issue"),
|
||||
description: frappe._("Customer Issue against Serial No."),
|
||||
doctype:"Customer Issue"
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
title: frappe._("Documents"),
|
||||
icon: "icon-copy",
|
||||
items: [
|
||||
{
|
||||
label: frappe._("Maintenance Schedule"),
|
||||
description: frappe._("Plan for maintenance visits."),
|
||||
doctype:"Maintenance Schedule"
|
||||
},
|
||||
{
|
||||
label: frappe._("Maintenance Visit"),
|
||||
description: frappe._("Visit report for maintenance call."),
|
||||
doctype:"Maintenance Visit"
|
||||
},
|
||||
{
|
||||
label: frappe._("Newsletter"),
|
||||
description: frappe._("Newsletters to contacts, leads."),
|
||||
doctype:"Newsletter"
|
||||
},
|
||||
{
|
||||
label: frappe._("Communication"),
|
||||
description: frappe._("Communication log."),
|
||||
doctype:"Communication"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: frappe._("Masters"),
|
||||
icon: "icon-book",
|
||||
items: [
|
||||
{
|
||||
label: frappe._("Serial No"),
|
||||
description: frappe._("Single unit of an Item."),
|
||||
doctype:"Serial No"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: frappe._("Setup"),
|
||||
icon: "icon-cog",
|
||||
items: [
|
||||
{
|
||||
"route":"Form/Email Settings/Email Settings",
|
||||
"label":frappe._("Email Settings"),
|
||||
"description":frappe._("Setup to pull emails from support email account"),
|
||||
doctype: "Email Settings"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: frappe._("Analytics"),
|
||||
right: true,
|
||||
icon: "icon-bar-chart",
|
||||
items: [
|
||||
{
|
||||
"label":frappe._("Support Analytics"),
|
||||
page: "support-analytics"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
title: frappe._("Reports"),
|
||||
right: true,
|
||||
icon: "icon-list",
|
||||
items: [
|
||||
{
|
||||
"label":frappe._("Maintenance Schedules"),
|
||||
route: "query-report/Maintenance Schedules",
|
||||
doctype: "Maintenance Schedule"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
pscript['onload_support-home'] = function(wrapper) {
|
||||
frappe.views.moduleview.make(wrapper, "Support");
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
[
|
||||
{
|
||||
"creation": "2012-02-21 13:23:35",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-07-11 14:44:26",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
{
|
||||
"doctype": "Page",
|
||||
"icon": "icon-th",
|
||||
"module": "Support",
|
||||
"name": "__common__",
|
||||
"page_name": "support-home",
|
||||
"standard": "Yes",
|
||||
"title": "Support Home"
|
||||
},
|
||||
{
|
||||
"doctype": "Page",
|
||||
"name": "support-home"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user