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