Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Issues"), |
| 8 | "items": [ |
| 9 | { |
| 10 | "type": "doctype", |
| 11 | "name": "Issue", |
| 12 | "description": _("Support queries from customers."), |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 13 | "onboard": 1, |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Himanshu Warekar | f38486b | 2019-05-20 23:25:26 +0530 | [diff] [blame] | 17 | "name": "Issue Type", |
| 18 | "description": _("Issue Type."), |
| 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Issue Priority", |
| 23 | "description": _("Issue Priority."), |
Himanshu | 7d1d9aa | 2019-07-12 06:49:35 +0000 | [diff] [blame] | 24 | } |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 25 | ] |
| 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 Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 43 | "label": _("Service Level Agreement"), |
| 44 | "items": [ |
| 45 | { |
| 46 | "type": "doctype", |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 47 | "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 Mehta | 7e4fb49 | 2019-05-24 11:22:31 +0530 | [diff] [blame] | 58 | "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 | { |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 71 | "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 | }, |
Himanshu | e7bb54e | 2019-07-10 11:45:59 +0000 | [diff] [blame] | 94 | { |
| 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 Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 105 | ] |