blob: 47dc53e4488147bbcda3e1d671c175c73ae16100 [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",
17 "name": "Communication",
18 "description": _("Communication log."),
Rushabh Mehta43257c82019-04-02 08:59:15 +053019 "onboard": 1,
Himanshuf3e52132019-03-19 16:47:56 +053020 },
21 ]
22 },
23 {
24 "label": _("Warranty"),
25 "items": [
26 {
27 "type": "doctype",
28 "name": "Warranty Claim",
29 "description": _("Warranty Claim against Serial No."),
30 },
31 {
32 "type": "doctype",
33 "name": "Serial No",
34 "description": _("Single unit of an Item."),
35 },
36 ]
37 },
38 {
Rushabh Mehta43257c82019-04-02 08:59:15 +053039 "label": _("Service Level Agreement"),
40 "items": [
41 {
42 "type": "doctype",
43 "name": "Employee Group",
44 "description": _("Support Team."),
45 },
46 {
47 "type": "doctype",
48 "name": "Service Level",
49 "description": _("Service Level."),
50 },
51 {
52 "type": "doctype",
53 "name": "Service Level Agreement",
54 "description": _("Service Level Agreement."),
55 }
56 ]
57 },
58 {
Rushabh Mehta7e4fb492019-05-24 11:22:31 +053059 "label": _("Maintenance"),
60 "items": [
61 {
62 "type": "doctype",
63 "name": "Maintenance Schedule",
64 },
65 {
66 "type": "doctype",
67 "name": "Maintenance Visit",
68 },
69 ]
70 },
71 {
Himanshuf3e52132019-03-19 16:47:56 +053072 "label": _("Reports"),
73 "icon": "fa fa-list",
74 "items": [
75 {
76 "type": "page",
77 "name": "support-analytics",
78 "label": _("Support Analytics"),
79 "icon": "fa fa-bar-chart"
80 },
81 {
82 "type": "report",
83 "name": "Minutes to First Response for Issues",
84 "doctype": "Issue",
85 "is_query_report": True
86 },
87 {
88 "type": "report",
89 "name": "Support Hours",
90 "doctype": "Issue",
91 "is_query_report": True
92 },
93 ]
94 },
Rushabh Mehta43257c82019-04-02 08:59:15 +053095 ]