Fix loan repay from salary attribute #195
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #146
Add
repay_from_salary
attribute to Loan object in Loan Management module.lending/loan_management/doctype/loan/loan.json
repay_from_salary
attribute to the fields list.fieldtype
to "Check".label
to "Repay From Salary".default
to "0".lending/loan_management/doctype/loan/loan.py
repay_from_salary
attribute to theLoan
class.validate
method to handle therepay_from_salary
attribute.set_missing_fields
method to handle therepay_from_salary
attribute.lending/loan_management/doctype/loan/loan.js
repay_from_salary
attribute to thesetup
method.loan_application
method to handle therepay_from_salary
attribute.lending/loan_management/doctype/loan/loan_dashboard.py
repay_from_salary
attribute to theget_data
method.lending/loan_management/doctype/loan/loan_list.js
repay_from_salary
attribute to theget_indicator
method.lending/loan_management/doctype/loan_repayment/loan_repayment.js
repay_from_salary
attribute to thesetup
method.