blob: a4a4c229677b0e3cfc1882ab92972aed89e106da [file] [log] [blame]
Anand Doshid57e7932015-02-24 12:24:53 +05301from __future__ import unicode_literals
Anand Doshif5794f12014-03-03 15:05:28 +05302from frappe import _
3
Anand Doshi08ef4672014-05-08 11:43:18 +05304def get_data():
5 return [
6 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +05307 "label": _("Issues"),
Anand Doshi08ef4672014-05-08 11:43:18 +05308 "items": [
9 {
10 "type": "doctype",
Rushabh Mehtabd9b62f2014-11-28 11:45:02 +053011 "name": "Issue",
Anand Doshi08ef4672014-05-08 11:43:18 +053012 "description": _("Support queries from customers."),
13 },
14 {
15 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053016 "name": "Communication",
17 "description": _("Communication log."),
Anand Doshi08ef4672014-05-08 11:43:18 +053018 },
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053019 ]
20 },
21 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053022 "label": _("Warranty"),
23 "items": [
Anand Doshi08ef4672014-05-08 11:43:18 +053024 {
25 "type": "doctype",
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053026 "name": "Warranty Claim",
27 "description": _("Warranty Claim against Serial No."),
Anand Doshi08ef4672014-05-08 11:43:18 +053028 },
29 {
30 "type": "doctype",
31 "name": "Serial No",
32 "description": _("Single unit of an Item."),
33 },
34 ]
35 },
36 {
Rushabh Mehtad1e1c522016-03-08 18:06:21 +053037 "label": _("Reports"),
Anand Doshi08ef4672014-05-08 11:43:18 +053038 "icon": "icon-list",
39 "items": [
40 {
41 "type": "page",
42 "name": "support-analytics",
43 "label": _("Support Analytics"),
44 "icon": "icon-bar-chart"
45 },
Rushabh Mehtaf7e6ec02016-06-14 18:08:51 +053046 {
47 "type": "report",
48 "name": "Minutes to First Response for Issues",
49 "doctype": "Issue",
50 "is_query_report": True
51 },
Anand Doshi08ef4672014-05-08 11:43:18 +053052 ]
53 },
54 ]