4dc453d131
* Renamed - Employee Loan Application to Loan Application, Employee Loan to Loan and field Employee Loan Account to Loan Account * Patch added * Dynamic link fields 'applicant' and 'applicant_type' * Member link visible only if domain non profit is active * Modified loan_dashboard * Make Repayment Entry button * Common file loan_common.js for loan and loan_application * repayment schedule rows selection in dialog * validation if repayment amount > total paid amount * repayment only if disbursement is done, make repayment by selecting the installment which falls in the current month * fetch nowdate if disbursement date not found * Rebased with develop * updated non-profit module page * updated patch for renamed fields * dialog to select repayment entries * hidden field to store reschedule paid status * update paid check in loan on journal entry updation * calculate total paid * updated docs * codacy fix
98 lines
1.7 KiB
Python
98 lines
1.7 KiB
Python
from __future__ import unicode_literals
|
|
from frappe import _
|
|
|
|
def get_data():
|
|
return [
|
|
{
|
|
"label": _("Chapter"),
|
|
"icon": "fa fa-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Chapter",
|
|
"description": _("Chapter information."),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Membership"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Member",
|
|
"description": _("Member information."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Membership",
|
|
"description": _("Memebership Details"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Membership Type",
|
|
"description": _("Memebership Type Details"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Volunteer"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Volunteer",
|
|
"description": _("Volunteer information."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Volunteer Type",
|
|
"description": _("Volunteer Type information."),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Donor"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Donor",
|
|
"description": _("Donor information."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Donor Type",
|
|
"description": _("Donor Type information."),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": _("Loan Management"),
|
|
"icon": "icon-list",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Loan Type",
|
|
"description": _("Define various loan types")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Loan Application",
|
|
"description": _("Loan Application")
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Loan"
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Grant Application"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Grant Application",
|
|
"description": _("Grant information."),
|
|
}
|
|
]
|
|
}
|
|
]
|