blob: 151c4f743e1fb860e6f7b137dfeb0a87e4836e9c [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."),
Himanshu7d1d9aa2019-07-12 06:49:35 +000024 }
Himanshuf3e52132019-03-19 16:47:56 +053025 ]
26 },
27 {
28 "label": _("Warranty"),
29 "items": [
30 {
31 "type": "doctype",
32 "name": "Warranty Claim",
33 "description": _("Warranty Claim against Serial No."),
34 },
35 {
36 "type": "doctype",
37 "name": "Serial No",
38 "description": _("Single unit of an Item."),
39 },
40 ]
41 },
42 {
Rushabh Mehta43257c82019-04-02 08:59:15 +053043 "label": _("Service Level Agreement"),
44 "items": [
45 {
46 "type": "doctype",
Rushabh Mehta43257c82019-04-02 08:59:15 +053047 "name": "Service Level",
48 "description": _("Service Level."),
49 },
50 {
51 "type": "doctype",
52 "name": "Service Level Agreement",
53 "description": _("Service Level Agreement."),
54 }
55 ]
56 },
57 {
Rushabh Mehta7e4fb492019-05-24 11:22:31 +053058 "label": _("Maintenance"),
59 "items": [
60 {
61 "type": "doctype",
62 "name": "Maintenance Schedule",
63 },
64 {
65 "type": "doctype",
66 "name": "Maintenance Visit",
67 },
68 ]
69 },
70 {
Himanshuf3e52132019-03-19 16:47:56 +053071 "label": _("Reports"),
72 "icon": "fa fa-list",
73 "items": [
74 {
75 "type": "page",
76 "name": "support-analytics",
77 "label": _("Support Analytics"),
78 "icon": "fa fa-bar-chart"
79 },
80 {
81 "type": "report",
82 "name": "Minutes to First Response for Issues",
83 "doctype": "Issue",
84 "is_query_report": True
85 },
86 {
87 "type": "report",
88 "name": "Support Hours",
89 "doctype": "Issue",
90 "is_query_report": True
91 },
92 ]
93 },
Himanshue7bb54e2019-07-10 11:45:59 +000094 {
95 "label": _("Settings"),
96 "icon": "fa fa-list",
97 "items": [
98 {
99 "type": "doctype",
100 "name": "Support Settings",
101 "label": _("Support Settings"),
102 },
103 ]
104 },
Rushabh Mehta43257c82019-04-02 08:59:15 +0530105 ]