2015-02-24 06:54:53 +00:00
|
|
|
from __future__ import unicode_literals
|
2014-03-03 09:35:28 +00:00
|
|
|
from frappe import _
|
|
|
|
|
2014-05-08 06:13:18 +00:00
|
|
|
def get_data():
|
|
|
|
return [
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Issues"),
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2014-11-28 06:15:02 +00:00
|
|
|
"name": "Issue",
|
2014-05-08 06:13:18 +00:00
|
|
|
"description": _("Support queries from customers."),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Communication",
|
|
|
|
"description": _("Communication log."),
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-03-08 12:36:21 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": _("Warranty"),
|
|
|
|
"items": [
|
2014-05-08 06:13:18 +00:00
|
|
|
{
|
|
|
|
"type": "doctype",
|
2016-03-08 12:36:21 +00:00
|
|
|
"name": "Warranty Claim",
|
|
|
|
"description": _("Warranty Claim against Serial No."),
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "doctype",
|
|
|
|
"name": "Serial No",
|
|
|
|
"description": _("Single unit of an Item."),
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2016-03-08 12:36:21 +00:00
|
|
|
"label": _("Reports"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-list",
|
2014-05-08 06:13:18 +00:00
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "page",
|
|
|
|
"name": "support-analytics",
|
|
|
|
"label": _("Support Analytics"),
|
2016-12-07 05:38:48 +00:00
|
|
|
"icon": "fa fa-bar-chart"
|
2014-05-08 06:13:18 +00:00
|
|
|
},
|
2016-06-14 12:38:51 +00:00
|
|
|
{
|
|
|
|
"type": "report",
|
|
|
|
"name": "Minutes to First Response for Issues",
|
|
|
|
"doctype": "Issue",
|
|
|
|
"is_query_report": True
|
|
|
|
},
|
2014-05-08 06:13:18 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|