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."), |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 27 | "name": "Communication", |
| 28 | "description": _("Communication log."), |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 29 | "onboard": 1, |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 30 | }, |
| 31 | ] |
| 32 | }, |
| 33 | { |
| 34 | "label": _("Warranty"), |
| 35 | "items": [ |
| 36 | { |
| 37 | "type": "doctype", |
| 38 | "name": "Warranty Claim", |
| 39 | "description": _("Warranty Claim against Serial No."), |
| 40 | }, |
| 41 | { |
| 42 | "type": "doctype", |
| 43 | "name": "Serial No", |
| 44 | "description": _("Single unit of an Item."), |
| 45 | }, |
| 46 | ] |
| 47 | }, |
| 48 | { |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 49 | "label": _("Service Level Agreement"), |
| 50 | "items": [ |
| 51 | { |
| 52 | "type": "doctype", |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 53 | "name": "Service Level", |
| 54 | "description": _("Service Level."), |
| 55 | }, |
| 56 | { |
| 57 | "type": "doctype", |
| 58 | "name": "Service Level Agreement", |
| 59 | "description": _("Service Level Agreement."), |
| 60 | } |
| 61 | ] |
| 62 | }, |
| 63 | { |
Rushabh Mehta | 7e4fb49 | 2019-05-24 11:22:31 +0530 | [diff] [blame] | 64 | "label": _("Maintenance"), |
| 65 | "items": [ |
| 66 | { |
| 67 | "type": "doctype", |
| 68 | "name": "Maintenance Schedule", |
| 69 | }, |
| 70 | { |
| 71 | "type": "doctype", |
| 72 | "name": "Maintenance Visit", |
| 73 | }, |
| 74 | ] |
| 75 | }, |
| 76 | { |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 77 | "label": _("Reports"), |
| 78 | "icon": "fa fa-list", |
| 79 | "items": [ |
| 80 | { |
| 81 | "type": "page", |
| 82 | "name": "support-analytics", |
| 83 | "label": _("Support Analytics"), |
| 84 | "icon": "fa fa-bar-chart" |
| 85 | }, |
| 86 | { |
| 87 | "type": "report", |
| 88 | "name": "Minutes to First Response for Issues", |
| 89 | "doctype": "Issue", |
| 90 | "is_query_report": True |
| 91 | }, |
| 92 | { |
| 93 | "type": "report", |
| 94 | "name": "Support Hours", |
| 95 | "doctype": "Issue", |
| 96 | "is_query_report": True |
| 97 | }, |
| 98 | ] |
| 99 | }, |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 100 | ] |