Skip to content

Conversation

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

@somasorosdpc somasorosdpc changed the title FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization WIP: FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization Oct 14, 2025
@somasorosdpc somasorosdpc force-pushed the FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization branch 3 times, most recently from 57ebadc to acc6f6e Compare October 15, 2025 11:02
@somasorosdpc somasorosdpc changed the title WIP: FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization Oct 28, 2025
@somasorosdpc somasorosdpc force-pushed the FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization branch from 1a8c3d3 to 9f0c90c Compare October 28, 2025 15:18
@somasorosdpc somasorosdpc force-pushed the FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization branch from 162e543 to 90f37e7 Compare November 3, 2025 09:28
createPaymentAllocation("MERCHANT_ISSUED_REFUND", "REAMORTIZATION"), //
createPaymentAllocation("PAYOUT_REFUND", "NEXT_INSTALLMENT")))//
.multiDisburseLoan(true)//
.disallowExpectedDisbursements(false)//
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 "expected disbursements"?

AND lt.typeOf = :type
AND lt.dateOf <= :onDate
""")
Optional<LoanTransaction> findNonReversedTransactionActiveOnDate(@Param("loan") Loan loan, @Param("type") LoanTransactionType type,
Copy link
Contributor

Choose a reason for hiding this comment

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

what findNonReversedTransactionActiveOnDate method is for?

|| !transaction.isNonMonetaryTransaction() || transaction.isContractTermination());
}

public Optional<LoanTransaction> getActiveReageTransactionOnDate(Loan loan, LocalDate onDate) {
Copy link
Contributor

Choose a reason for hiding this comment

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

A loan can have multiple reage txn. The only restriction is we cannot have multiple reage on the same date, but otherwise we can have as many reage as many we need.

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.

3 participants