blob: d6aae899c94ef8dcdfb7e23c7eec8308a49b4b8a [file] [log] [blame]
Himanshuf3e52132019-03-19 16:47:56 +05301from __future__ import unicode_literals
2from frappe import _
3
4def get_data():
5 return [
6 {
7 "label": _("Issues"),
8 "items": [
9 {
10 "type": "doctype",
11 "name": "Issue",
12 "description": _("Support queries from customers."),
Rushabh Mehta43257c82019-04-02 08:59:15 +053013 "onboard": 1,
Himanshuf3e52132019-03-19 16:47:56 +053014 },
15 {
16 "type": "doctype",
Himanshu Warekarf38486b2019-05-20 23:25:26 +053017 "name": "Issue Type",
18 "description": _("Issue Type."),
19 },
20 {
21 "type": "doctype",
22 "name": "Issue Priority",
23 "description": _("Issue Priority."),
24 },
25 {
26 "type": "doctype",
Himanshuf3e52132019-03-19 16:47:56 +053027 "name": "Communication",
28 "description": _("Communication log."),
Rushabh Mehta43257c82019-04-02 08:59:15 +053029 "onboard": 1,
Himanshuf3e52132019-03-19 16:47:56 +053030 },
31 ]
32 },
33 {
34 "label": _("Warranty"),
35 "items": [
36 {
37 "type": "doctype",
38 "name": "Warranty Claim",
39 "description": _("Warranty Claim against Serial No."),
40 },
41 {
42 "type": "doctype",
43 "name": "Serial No",
44 "description": _("Single unit of an Item."),
45 },
46 ]
47 },
48 {
Rushabh Mehta43257c82019-04-02 08:59:15 +053049 "label": _("Service Level Agreement"),
50 "items": [
51 {
52 "type": "doctype",
Rushabh Mehta43257c82019-04-02 08:59:15 +053053 "name": "Service Level",
54 "description": _("Service Level."),
55 },
56 {
57 "type": "doctype",
58 "name": "Service Level Agreement",
59 "description": _("Service Level Agreement."),
60 }
61 ]
62 },
63 {
Himanshuf3e52132019-03-19 16:47:56 +053064 "label": _("Reports"),
65 "icon": "fa fa-list",
66 "items": [
67 {
68 "type": "page",
69 "name": "support-analytics",
70 "label": _("Support Analytics"),
71 "icon": "fa fa-bar-chart"
72 },
73 {
74 "type": "report",
75 "name": "Minutes to First Response for Issues",
76 "doctype": "Issue",
77 "is_query_report": True
78 },
79 {
80 "type": "report",
81 "name": "Support Hours",
82 "doctype": "Issue",
83 "is_query_report": True
84 },
85 ]
86 },
Rushabh Mehta43257c82019-04-02 08:59:15 +053087 ]