blob: c19dd423e63100bf890f431d8df63f05ac359e3d [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 {
Himanshuf3e52132019-03-19 16:47:56 +053059 "label": _("Reports"),
60 "icon": "fa fa-list",
61 "items": [
62 {
63 "type": "page",
64 "name": "support-analytics",
65 "label": _("Support Analytics"),
66 "icon": "fa fa-bar-chart"
67 },
68 {
69 "type": "report",
70 "name": "Minutes to First Response for Issues",
71 "doctype": "Issue",
72 "is_query_report": True
73 },
74 {
75 "type": "report",
76 "name": "Support Hours",
77 "doctype": "Issue",
78 "is_query_report": True
79 },
80 ]
81 },
Rushabh Mehta43257c82019-04-02 08:59:15 +053082 ]