-
Notifications
You must be signed in to change notification settings - Fork 2.2k
FINERACT-2181: Any amount payment after reage loan is overpaid #5136
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
base: develop
Are you sure you want to change the base?
FINERACT-2181: Any amount payment after reage loan is overpaid #5136
Conversation
47012f4 to
f8724d8
Compare
| | Name | isPenalty | Payment due at | Due as of | Calculation type | Due | Paid | Waived | Outstanding | | ||
| | Snooze fee | false | Specified due date | 15 May 2024 | Flat | 10.0 | 0.0 | 0.0 | 10.0 | | ||
|
|
||
| @TestRailId:C4092 @AdvancedPaymentAllocation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pl change @TestrailId:C4157
I added it to Testrail (4092 is already used)
f8724d8 to
892833d
Compare
| @@ -112,6 +110,9 @@ public CommandProcessingResult reAge(Long loanId, JsonCommand command) { | |||
| loanTransactions.add(reAgeTransaction); | |||
| reprocessLoanTransactionsService.reprocessParticularTransactions(loan, loanTransactions); | |||
| } else { | |||
| final LoanRepaymentScheduleTransactionProcessor loanRepaymentScheduleTransactionProcessor = loanRepaymentScheduleTransactionProcessorFactory | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont get how this could be fixing anything...
adamsaghy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kindly share more information why moving the processor determination fix anything here...
892833d to
8baf0e3
Compare
|
@alberto-art3ch Please rebase the branch, resolve the conflicts, and take a look at the failing test cases. |
Description
Loan after pay-off or any amount payment loan is overpaid with 1st repayment amount before re-age, mainly in this case:
in case loan paid-off - status is closed outstanding amount is 0, in case any repayment amount less that paid -off amount - status is active with correct outstanding amount
FINERACT-2181
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.