FINERACT-2589: [HOTFIX] Fix repayment template next unpaid installment amount#5768
FINERACT-2589: [HOTFIX] Fix repayment template next unpaid installment amount#5768shamir92 wants to merge 1 commit intoapache:developfrom
Conversation
|
Please sign your commits as described in the CONTRIBUTING.md signing guide. Also, please use the required PR title format |
Signed-off-by: Shamir Husein <shamirhusein@gmail.com>
dd9abba to
40a77b5
Compare
|
hi @AshharAhmadKhan |
@shamir92 Done ;) |
hi, i already change the title and add jira ticket for this pr. |
check the failing logs. |
|
How do i re run the failing jobs ? |
|
|
@shamir92 Seems like you havent configured GPG signature to your account yet. |
Description
Updated the repayment transaction template query so it returns the next installment with an outstanding balance instead of always defaulting to the earliest installment.
This was needed because partially paid loans could produce an incorrect repayment template amount when the first matching installment was already fully satisfied. The change reuses the existing due amount expressions in the query ordering, and adds an integration test to verify the repayment template now returns the next unpaid installment amount.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
Your assigned reviewer(s) will follow our guidelines for code reviews.