Skip to content

Conversation

@oleksii-novikov-onix
Copy link
Contributor

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!

  • Write the commit message as per our guidelines
  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.
  • Create/update unit or integration tests for verifying the changes made.
  • Follow our coding conventions.
  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes
  • This PR must not be a "code dump". Large changes can be made in a branch, with assistance. Ask for help on the developer mailing list.

Your assigned reviewer(s) will follow our guidelines for code reviews.

@ruzeynalov ruzeynalov force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch 2 times, most recently from e568c0e to b5c484f Compare December 23, 2025 14:39
@adamsaghy adamsaghy marked this pull request as ready for review December 26, 2025 18:25
@ruzeynalov ruzeynalov force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch from b5c484f to 362ce49 Compare December 31, 2025 10:32
@oleksii-novikov-onix oleksii-novikov-onix marked this pull request as draft January 5, 2026 08:01
@oleksii-novikov-onix oleksii-novikov-onix force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch 4 times, most recently from 79e9c40 to ae3265d Compare January 8, 2026 11:40
@adamsaghy
Copy link
Contributor

@oleksii-novikov-onix Please squash and rebase.

@oleksii-novikov-onix oleksii-novikov-onix force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch from 09092fb to b2a45d1 Compare January 8, 2026 13:02
@adamsaghy adamsaghy marked this pull request as ready for review January 8, 2026 13:36
@oleksii-novikov-onix oleksii-novikov-onix force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch from b2a45d1 to 83e909e Compare January 8, 2026 13:59
@ruzeynalov ruzeynalov force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch from 83e909e to 89c591b Compare January 9, 2026 11:57
@oleksii-novikov-onix oleksii-novikov-onix force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch 2 times, most recently from e75b29a to c411acb Compare January 9, 2026 15:43
@oleksii-novikov-onix oleksii-novikov-onix force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch from 9a144b3 to ef79f05 Compare January 13, 2026 10:09
@oleksii-novikov-onix oleksii-novikov-onix force-pushed the FINERACT-2413/schedule-handling-after-re-amortization-default-behaviour branch from ef79f05 to 3902342 Compare January 14, 2026 10:04
}

final List<RepaymentPeriod> affectedPeriods = repaymentPeriods.stream()//
.filter(period -> !period.isReAmortized())//
Copy link
Contributor

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;
Copy link
Contributor

@adamsaghy adamsaghy Jan 16, 2026

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()
Copy link
Contributor

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...

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.

4 participants