* fix: Create Loan Management module * fix: Move loan doctype for hr module to loan management * fix: Add loan dashboard * fix: Move loan application form hr module to loan management * fix: Move Loan Type from hr to loan management * fix: Move salary slip loan from hr to loan management * fix: Create loan security pledge doctype * fix: Create loan security type doctype * fix: Create Loan security doctype * fix: Add customer in loan_common.js * fix: Import patch for loan * fix: Add security pledging in loan doctype * fix: Add loan application pledge doctype * fix: Add logic for security pledgeing in loan * fix: Add logic for security pledging in loan application * fix: Rename Loan security doctype to Loan Security Pledge * fix: Add doctype for loan security * fix: Fixes in loan and loan application * fix: Add doctypes for loan repayment * fix: Fixes in loan and loan application * fix: Move loan repayment report from HR module to loan management * fix: Create doctype for loan security price * fix: Create doctype for loan security shortfall * fix: Make fields in Loan shortfall readonly * fix: Make loan type submittable * fix: Add daily job for loan security revaluation in hooks.py * fix: Add loan management module * fix: Doctype for loan disbursement Entry * fix: GL entry fix for loan disbursement * fix: Add company currency options in Loan related doctypes * fix: Changes in Loan Doctypes * fix: Allow miltiple loan securities in Loan Security Pledge * fix: Add proposed pledges in Loan Application * fix: Add test cases for loan * fix: Interest Accrual Entry for loans * fix: Remove loan from journal entry * fix: Update triggers in loan_common.js * fix: Accrual Entries for loan Interest * fix: Proposed Pledges for loan application * fix: Update items in loan management module * fix: Allow multiple disbursements against a loan * fix: Add loan security code in loan security master * fix: Allow multiple securities in a single pledge * fix: Spelling and label fixes * fix: Replace date in loan security price with datetime * fix: Add dashboard to loan master * fix: Move Repayment Schedule from HR to Loan Management * fix: Add back jobs for loan accrual entries * fix: Multiple fixes in loan * fix: Multiple fixes in loan application * fix: Loan Reapayment for term loans * fix: Interest Accural Entries for term loans * fix: Changes in Loan Doctypes * fix: Add test case for term loan repayment * fix: Add custom button to update loan security price and trigger shortfall * fix: Usability fixes in Loan management * fix: Multiple usablity and doctype fixes * fix: Muliple bug and usability fixes in loan * fix: Test case fixes for loan repayment from Salary * fix: Codacy fixes * fix: Test Case fixes * fix: Minor fix in validate_repayment_method * fix: Test case and codacy fixes * fix: Provide consistent naming series to loan doctypes * fix: Loan Application fix * fix: Loan Application Dashboard * fix: Add doctypes to process loan interest accural and loan security price * fix: Provision to make loan topup * fix: Pledge and unpledge statuses and doctype for loan securit unpledge * fix: Multiple fixes in Loan Cycle * fix: Add missing dashboards to loan doctypes * fix: Add Loan Manager role to loan doctypes * fix: Loan Process fixes * fix: Loan Security Unpledge fixes * fix: UX, List and dashboards fixes * fix: Minor fixes * fix: Minor fixes * fix: Status on additional loan security * fix: Codacy fixes * fix: Multiple fixes in loan * fix: Rename Process Loan Security Price to Process Loan Security Shortfall * fix: Loan Repayment and Closure report * fix: Loan Security Status report and minor fixes * fix: Multiple UX fixes * fix: Test Case fixes and UX fixes * fix: Currency symbol fixes in Salary Slip Loan * fix: Make loan account details read only * fix: Changes in loan security price updation * fix: Sanctioned Loan Amount doctype * fix: Updates in process loan interest accrual * fix: Pass loan doc instead of loan name * fix: Fixes in process loan interest accrual * fix: Add missing semicolon * fix: Test case * fix: Test case * fix: Sandbox method to get proposed pledges * fix: Sandbox method * fix: Nonetype fix in loan sanction limit * fix: GL entry fixes * fix: Update maximum loan amount on loan security pledging * fix: Round off loan amounts * fix: Loan Security unpledging * fix: Interest amount for loan closure * fix: Due date for loan repayments * fix: API fixes for loan disbursement method * fix: Disable quick entry for sanctioned loan amount * fix: Add misssing translations for validations and codecleanup * fix: Translation fixes and code cleanup * fix: Test Cases * fix: Loan Interest Accrual test case
		
			
				
	
	
		
			107 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			107 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import unicode_literals
 | |
| from frappe import _
 | |
| import frappe
 | |
| 
 | |
| 
 | |
| def get_data():
 | |
| 	return [
 | |
| 		{
 | |
| 			"label": _("Loan"),
 | |
| 			"items": [
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Type",
 | |
| 					"description": _("Loan Type for interest and penalty rates"),
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Application",
 | |
| 					"description": _("Loan Applications from customers and employees."),
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan",
 | |
| 					"description": _("Loans provided to customers and employees."),
 | |
| 				},
 | |
| 
 | |
| 			]
 | |
| 		},
 | |
| 		{
 | |
| 			"label": _("Loan Security"),
 | |
| 			"items": [
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Security Type",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Security Price",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Security",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Security Pledge",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Security Unpledge",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Security Shortfall",
 | |
| 				},
 | |
| 			]
 | |
| 		},
 | |
| 		{
 | |
| 			"label": _("Disbursement and Repayment"),
 | |
| 			"items": [
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Disbursement",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Repayment",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Loan Interest Accrual"
 | |
| 				}
 | |
| 			]
 | |
| 		},
 | |
| 		{
 | |
| 			"label": _("Loan Processes"),
 | |
| 			"items": [
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Process Loan Security Shortfall",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "doctype",
 | |
| 					"name": "Process Loan Interest Accrual",
 | |
| 				}
 | |
| 			]
 | |
| 		},
 | |
| 		{
 | |
| 			"label": _("Reports"),
 | |
| 			"items": [
 | |
| 				{
 | |
| 					"type": "report",
 | |
| 					"is_query_report": True,
 | |
| 					"name": "Loan Repayment and Closure",
 | |
| 					"route": "#query-report/Loan Repayment and Closure",
 | |
| 					"doctype": "Loan Repayment",
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "report",
 | |
| 					"is_query_report": True,
 | |
| 					"name": "Loan Security Status",
 | |
| 					"route": "#query-report/Loan Security Status",
 | |
| 					"doctype": "Loan Security Pledge",
 | |
| 				}
 | |
| 			]
 | |
| 		}
 | |
| 	] |