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