-
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
...oanaccount/domain/transactionprocessor/impl/AdvancedPaymentScheduleTransactionProcessor.java
Show resolved
Hide resolved
b5c484f to
362ce49
Compare
79e9c40 to
ae3265d
Compare
|
@oleksii-novikov-onix Please squash and rebase. |
09092fb to
b2a45d1
Compare
fineract-e2e-tests-runner/src/test/resources/features/LoanReAmortization.feature
Show resolved
Hide resolved
b2a45d1 to
83e909e
Compare
83e909e to
89c591b
Compare
e75b29a to
c411acb
Compare
...oanaccount/domain/transactionprocessor/impl/AdvancedPaymentScheduleTransactionProcessor.java
Outdated
Show resolved
Hide resolved
...oanaccount/domain/transactionprocessor/impl/AdvancedPaymentScheduleTransactionProcessor.java
Outdated
Show resolved
Hide resolved
9a144b3 to
ef79f05
Compare
ef79f05 to
3902342
Compare
…ter re-amortization default behavior
| } | ||
|
|
||
| final List<RepaymentPeriod> affectedPeriods = repaymentPeriods.stream()// | ||
| .filter(period -> !period.isReAmortized())// |
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.
Why do we need this?
| private boolean reAgedEarlyRepaymentHolder; | ||
| @Setter | ||
| @Getter | ||
| private boolean reAmortized; |
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.
Why do we need this? It should not have any effect on anything...
| final ProgressiveLoanInterestScheduleModel model) { | ||
| return model.repaymentPeriods().stream() // | ||
| .filter(repaymentPeriod -> !repaymentPeriod.isReAgedEarlyRepaymentHolder() | ||
| .filter(repaymentPeriod -> !repaymentPeriod.isReAgedEarlyRepaymentHolder() && !repaymentPeriod.isReAmortized() |
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.
This seems wrong... reaged and reamortized periods can be overdue...
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.