blob: 0301bb3e196dd7f254abb2918bf247f948eaae21 [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 {
Rushabh Mehta7e4fb492019-05-24 11:22:31 +053064 "label": _("Maintenance"),
65 "items": [
66 {
67 "type": "doctype",
68 "name": "Maintenance Schedule",
69 },
70 {
71 "type": "doctype",
72 "name": "Maintenance Visit",
73 },
74 ]
75 },
76 {
Himanshuf3e52132019-03-19 16:47:56 +053077 "label": _("Reports"),
78 "icon": "fa fa-list",
79 "items": [
80 {
81 "type": "page",
82 "name": "support-analytics",
83 "label": _("Support Analytics"),
84 "icon": "fa fa-bar-chart"
85 },
86 {
87 "type": "report",
88 "name": "Minutes to First Response for Issues",
89 "doctype": "Issue",
90 "is_query_report": True
91 },
92 {
93 "type": "report",
94 "name": "Support Hours",
95 "doctype": "Issue",
96 "is_query_report": True
97 },
98 ]
99 },
Rushabh Mehta43257c82019-04-02 08:59:15 +0530100 ]