blob: adc84f2169c4f522c6ac88de93d951bce327bf3e [file] [log] [blame]
Prateeksha Singh01a045a2019-02-11 14:00:48 +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."),
13 "onboard": 1,
14 },
15 {
16 "type": "doctype",
17 "name": "Communication",
18 "description": _("Communication log."),
19 "onboard": 1,
20 },
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 {
39 "label": _("Reports"),
40 "icon": "fa fa-list",
41 "items": [
42 {
43 "type": "page",
44 "name": "support-analytics",
45 "label": _("Support Analytics"),
46 "icon": "fa fa-bar-chart"
47 },
48 {
49 "type": "report",
50 "name": "Minutes to First Response for Issues",
51 "doctype": "Issue",
52 "is_query_report": True
53 },
54 {
55 "type": "report",
56 "name": "Support Hours",
57 "doctype": "Issue",
58 "is_query_report": True
59 },
60 ]
61 },
62 ]