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", |
| 17 | "name": "Communication", |
| 18 | "description": _("Communication log."), |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 19 | "onboard": 1, |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 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 | { |
Rushabh Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 39 | "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 | { |
Himanshu | f3e5213 | 2019-03-19 16:47:56 +0530 | [diff] [blame] | 59 | "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 Mehta | 43257c8 | 2019-04-02 08:59:15 +0530 | [diff] [blame] | 82 | ] |