Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple payment methods while lending #194

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nirzaf
Copy link

@nirzaf nirzaf commented Aug 14, 2024

Fixes #166

Add support for multiple payment methods in loan applications and loans.

  • Add a new doctype Payment Method Limit to define the cash limit.
  • Update loan_application.js to include a payment section with multiple modes of payment.
    • Add validation to check if the cash limit is obeyed.
    • Show an error screen if the cash limit is exceeded and auto-update the entered lending value for cash to 20,000.
  • Update loan_application.py to handle the logic for multiple payment methods.
    • Add logic to distribute the remaining amount to other payment methods like bank transfer or UPI.
  • Update loan.js to support multiple payment methods.
    • Add a payment section with multiple modes of payment.
    • Add validation to check if the cash limit is obeyed.
    • Show an error screen if the cash limit is exceeded and auto-update the entered lending value for cash to 20,000.
  • Update loan.py to handle the logic for multiple payment methods.
    • Add logic to distribute the remaining amount to other payment methods like bank transfer or UPI.

Fixes frappe#166

Add support for multiple payment methods in loan applications and loans.

* Add a new doctype `Payment Method Limit` to define the cash limit.
* Update `loan_application.js` to include a payment section with multiple modes of payment.
  * Add validation to check if the cash limit is obeyed.
  * Show an error screen if the cash limit is exceeded and auto-update the entered lending value for cash to 20,000.
* Update `loan_application.py` to handle the logic for multiple payment methods.
  * Add logic to distribute the remaining amount to other payment methods like bank transfer or UPI.
* Update `loan.js` to support multiple payment methods.
  * Add a payment section with multiple modes of payment.
  * Add validation to check if the cash limit is obeyed.
  * Show an error screen if the cash limit is exceeded and auto-update the entered lending value for cash to 20,000.
* Update `loan.py` to handle the logic for multiple payment methods.
  * Add logic to distribute the remaining amount to other payment methods like bank transfer or UPI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple payment methods while lending
1 participant