Anand Doshi | d57e793 | 2015-02-24 12:24:53 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Anand Doshi | f5794f1 | 2014-03-03 15:05:28 +0530 | [diff] [blame] | 2 | from frappe import _ |
| 3 | |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Documents"), |
| 8 | "icon": "icon-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
Rushabh Mehta | bd9b62f | 2014-11-28 11:45:02 +0530 | [diff] [blame] | 12 | "name": "Issue", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 13 | "description": _("Support queries from customers."), |
| 14 | }, |
| 15 | { |
| 16 | "type": "doctype", |
Rushabh Mehta | 46e03ea | 2015-02-17 10:45:50 +0530 | [diff] [blame] | 17 | "name": "Warranty Claim", |
| 18 | "description": _("Warranty Claim against Serial No."), |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 19 | }, |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Maintenance Schedule", |
| 23 | "description": _("Plan for maintenance visits."), |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Maintenance Visit", |
| 28 | "description": _("Visit report for maintenance call."), |
| 29 | }, |
| 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Newsletter", |
| 33 | "description": _("Newsletters to contacts, leads."), |
| 34 | }, |
| 35 | { |
| 36 | "type": "doctype", |
| 37 | "name": "Communication", |
| 38 | "description": _("Communication log."), |
| 39 | }, |
| 40 | { |
| 41 | "type": "doctype", |
| 42 | "name": "Serial No", |
| 43 | "description": _("Single unit of an Item."), |
| 44 | }, |
| 45 | ] |
| 46 | }, |
| 47 | { |
| 48 | "label": _("Setup"), |
| 49 | "icon": "icon-cog", |
| 50 | "items": [ |
| 51 | { |
| 52 | "type": "doctype", |
Rushabh Mehta | 5cdc8e5 | 2014-09-15 16:59:38 +0530 | [diff] [blame] | 53 | "name": "Email Account", |
Anand Doshi | 08ef467 | 2014-05-08 11:43:18 +0530 | [diff] [blame] | 54 | "description": _("Setup incoming server for support email id. (e.g. support@example.com)") |
| 55 | }, |
| 56 | ] |
| 57 | }, |
| 58 | { |
| 59 | "label": _("Standard Reports"), |
| 60 | "icon": "icon-list", |
| 61 | "items": [ |
| 62 | { |
| 63 | "type": "page", |
| 64 | "name": "support-analytics", |
| 65 | "label": _("Support Analytics"), |
| 66 | "icon": "icon-bar-chart" |
| 67 | }, |
| 68 | { |
| 69 | "type": "report", |
| 70 | "name": "Maintenance Schedules", |
| 71 | "is_query_report": True, |
| 72 | "doctype": "Maintenance Schedule" |
| 73 | }, |
| 74 | ] |
| 75 | }, |
| 76 | ] |