Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mariiaKraievska
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 https://github.com/apache/fineract/#pull-requests
  • 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 coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/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
  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@mariiaKraievska mariiaKraievska force-pushed the FINERACT-2354/reaging-with-default-behaviour-for-interest-bearing-products-charge-off-edge-case branch from 7cf4f7c to 6f3c422 Compare October 22, 2025 10:16
@ruzeynalov ruzeynalov force-pushed the FINERACT-2354/reaging-with-default-behaviour-for-interest-bearing-products-charge-off-edge-case branch from 6f3c422 to 6f693ec Compare October 22, 2025 12:41
@adamsaghy adamsaghy marked this pull request as ready for review October 27, 2025 13:23
@mariiaKraievska mariiaKraievska force-pushed the FINERACT-2354/reaging-with-default-behaviour-for-interest-bearing-products-charge-off-edge-case branch from 6f693ec to f5ab0e2 Compare October 27, 2025 15:54
* getDueDate())
*/
private RepaymentPeriod findPeriodThatContainsDate(final List<RepaymentPeriod> periods, final LocalDate date) {
return periods.stream().filter(rp -> !rp.getFromDate().isAfter(date) && !rp.getDueDate().isBefore(date)).toList().getFirst();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why from date included and due date excluded?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer relevant

…erest bearing loans - Default Behavior, interestRecalculation = true, without dueDate change
@mariiaKraievska mariiaKraievska force-pushed the FINERACT-2354/reaging-with-default-behaviour-for-interest-bearing-products-charge-off-edge-case branch from f5ab0e2 to 7c99d11 Compare October 28, 2025 16:32
Copy link
Contributor

@adamsaghy adamsaghy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adamsaghy adamsaghy merged commit 67e823f into apache:develop Oct 29, 2025
33 checks passed
@adamsaghy adamsaghy deleted the FINERACT-2354/reaging-with-default-behaviour-for-interest-bearing-products-charge-off-edge-case branch October 29, 2025 12:30
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.

2 participants