blob: f5d35cc9ee7697a7269f24fbe83ebe9d24d576cb [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",
Rushabh Mehta43257c82019-04-02 08:59:15 +053043 "name": "Service Level",
44 "description": _("Service Level."),
45 },
46 {
47 "type": "doctype",
48 "name": "Service Level Agreement",
49 "description": _("Service Level Agreement."),
50 }
51 ]
52 },
53 {
Himanshuf3e52132019-03-19 16:47:56 +053054 "label": _("Reports"),
55 "icon": "fa fa-list",
56 "items": [
57 {
58 "type": "page",
59 "name": "support-analytics",
60 "label": _("Support Analytics"),
61 "icon": "fa fa-bar-chart"
62 },
63 {
64 "type": "report",
65 "name": "Minutes to First Response for Issues",
66 "doctype": "Issue",
67 "is_query_report": True
68 },
69 {
70 "type": "report",
71 "name": "Support Hours",
72 "doctype": "Issue",
73 "is_query_report": True
74 },
75 ]
76 },
Rushabh Mehta43257c82019-04-02 08:59:15 +053077 ]