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