Vishal | cc06d29 | 2017-09-15 22:30:55 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
| 2 | from frappe import _ |
| 3 | |
| 4 | def get_data(): |
| 5 | return [ |
| 6 | { |
| 7 | "label": _("Chapter"), |
| 8 | "icon": "fa fa-star", |
| 9 | "items": [ |
| 10 | { |
| 11 | "type": "doctype", |
| 12 | "name": "Chapter", |
| 13 | "description": _("Chapter information."), |
Nabin Hait | 419db49 | 2017-12-06 12:57:53 +0530 | [diff] [blame] | 14 | } |
Vishal | cc06d29 | 2017-09-15 22:30:55 +0530 | [diff] [blame] | 15 | ] |
| 16 | }, |
| 17 | { |
| 18 | "label": _("Membership"), |
| 19 | "items": [ |
| 20 | { |
| 21 | "type": "doctype", |
| 22 | "name": "Member", |
| 23 | "description": _("Member information."), |
| 24 | }, |
| 25 | { |
| 26 | "type": "doctype", |
| 27 | "name": "Membership", |
| 28 | "description": _("Memebership Details"), |
| 29 | }, |
Vishal | e018460 | 2017-09-18 17:21:40 +0530 | [diff] [blame] | 30 | { |
| 31 | "type": "doctype", |
| 32 | "name": "Membership Type", |
| 33 | "description": _("Memebership Type Details"), |
| 34 | }, |
Vishal | cc06d29 | 2017-09-15 22:30:55 +0530 | [diff] [blame] | 35 | ] |
Vishal | 10608e8 | 2017-09-19 12:42:55 +0530 | [diff] [blame] | 36 | }, |
Vishal | 7525bc6 | 2017-09-20 10:23:40 +0530 | [diff] [blame] | 37 | { |
| 38 | "label": _("Volunteer"), |
| 39 | "items": [ |
| 40 | { |
| 41 | "type": "doctype", |
| 42 | "name": "Volunteer", |
| 43 | "description": _("Volunteer information."), |
| 44 | }, |
| 45 | { |
| 46 | "type": "doctype", |
| 47 | "name": "Volunteer Type", |
| 48 | "description": _("Volunteer Type information."), |
| 49 | } |
| 50 | ] |
| 51 | }, |
| 52 | { |
| 53 | "label": _("Donor"), |
| 54 | "items": [ |
| 55 | { |
| 56 | "type": "doctype", |
| 57 | "name": "Donor", |
| 58 | "description": _("Donor information."), |
| 59 | }, |
| 60 | { |
| 61 | "type": "doctype", |
| 62 | "name": "Donor Type", |
| 63 | "description": _("Donor Type information."), |
| 64 | } |
| 65 | ] |
| 66 | }, |
| 67 | { |
Shreya Shah | 4dc453d | 2018-04-24 12:19:36 +0530 | [diff] [blame] | 68 | "label": _("Loan Management"), |
| 69 | "icon": "icon-list", |
| 70 | "items": [ |
| 71 | { |
| 72 | "type": "doctype", |
| 73 | "name": "Loan Type", |
| 74 | "description": _("Define various loan types") |
| 75 | }, |
| 76 | { |
| 77 | "type": "doctype", |
| 78 | "name": "Loan Application", |
| 79 | "description": _("Loan Application") |
| 80 | }, |
| 81 | { |
| 82 | "type": "doctype", |
| 83 | "name": "Loan" |
| 84 | }, |
| 85 | ] |
| 86 | }, |
| 87 | { |
Vishal | 2c9ce19 | 2017-09-21 12:09:51 +0530 | [diff] [blame] | 88 | "label": _("Grant Application"), |
| 89 | "items": [ |
| 90 | { |
| 91 | "type": "doctype", |
| 92 | "name": "Grant Application", |
| 93 | "description": _("Grant information."), |
| 94 | } |
| 95 | ] |
Vishal | d5d0813 | 2017-09-22 13:22:46 +0530 | [diff] [blame] | 96 | } |
Vishal | cc06d29 | 2017-09-15 22:30:55 +0530 | [diff] [blame] | 97 | ] |