-
Notifications
You must be signed in to change notification settings - Fork 2.2k
FINERACT-2413: Schedule handling after re-amortization default behavior #5251
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?
Conversation
e568c0e to
b5c484f
Compare
|
|
||
| private boolean shouldUseEmiCalculation(TransactionCtx transactionCtx, LocalDate transactionDate) { | ||
| if (transactionCtx instanceof ProgressiveTransactionCtx progressiveTransactionCtx) { | ||
| boolean hasActiveReAmortization = progressiveTransactionCtx.getAlreadyProcessedTransactions().stream() |
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.
Can you explain the removal of this logic? hasActiveReAmortization. Even through tests wise code is ok.
Interested in usecase related point of view. why re amortize logic is being removed here/
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.
It was removed, because now EmiCalculator is supporting reamortization handling.
To be honest i think the reage part should be also removed. We should only not use emicalculator if current date is after maturity date. @oleksii-novikov-onix FYI
b5c484f to
362ce49
Compare
d8a69c2 to
8e70cf5
Compare
…n default behavior
8e70cf5 to
f76fdcd
Compare
Description
Describe the changes made and why they were made. (Ignore if these details are present on the associated Apache Fineract JIRA ticket.)
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.