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

fix: Missing ledger entry for due amount within limit after waiver #257

Open
wants to merge 3 commits into
base: lending-uat
Choose a base branch
from

Conversation

Nihantra-Patel
Copy link
Member

fix missing ledger entry for due amount within limit after waiver

@@ -93,6 +93,9 @@ def setUp(self):
repayment_schedule_type=loan_product[3],
)

if loan_product[0] == "Term Loan Product 4":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call this from setup, don't have to add charges this way

repayment_entry = create_repayment_entry(loan.name, "2025-01-16", 106684.69)
repayment_entry.submit()

loan_adjustment = frappe.get_doc(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not testing anything in this, please check if charge waiver entry is getting generated if only charge is pending under shortfall acceptance limit.

Also test for Interest and penalty and principal as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants