FINERACT-2354: Re-aging Interest Handling Option: Equal Amortization - #5102
Merged
adamsaghy merged 2 commits intoNov 21, 2025
Conversation
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
3 times, most recently
from
October 15, 2025 11:02
57ebadc to
acc6f6e
Compare
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
2 times, most recently
from
November 3, 2025 09:28
162e543 to
90f37e7
Compare
adamsaghy
reviewed
Nov 3, 2025
adamsaghy
reviewed
Nov 3, 2025
adamsaghy
reviewed
Nov 3, 2025
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
from
November 4, 2025 09:30
90f37e7 to
0667f0e
Compare
adamsaghy
marked this pull request as ready for review
November 4, 2025 09:31
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
from
November 4, 2025 10:46
0667f0e to
df85c1d
Compare
adamsaghy
reviewed
Nov 4, 2025
adamsaghy
reviewed
Nov 4, 2025
adamsaghy
reviewed
Nov 4, 2025
adamsaghy
reviewed
Nov 4, 2025
Comment on lines
+2868
to
+2877
| if (isEqualInstallmentForInterest) { | ||
| target.setInterestCharged(MathUtil.add(reAgedInstallment.getInterestCharged(), target.getInterestPaid())); | ||
| target.setInterestAccrued(MathUtil.add(target.getInterestAccrued(), reAgedInstallment.getInterestAccrued())); | ||
| } | ||
| if (isEqualInstallmentForFeesAndPenalties) { | ||
| target.setFeeChargesCharged(MathUtil.add(reAgedInstallment.getFeeChargesCharged(), target.getFeeChargesPaid())); | ||
| target.setFeeAccrued(MathUtil.add(target.getInterestAccrued(), reAgedInstallment.getFeeAccrued())); | ||
| target.setPenaltyCharges(MathUtil.add(reAgedInstallment.getPenaltyCharges(), target.getPenaltyChargesPaid())); | ||
| target.setPenaltyAccrued(MathUtil.add(target.getInterestAccrued(), reAgedInstallment.getPenaltyAccrued())); | ||
| } |
Contributor
There was a problem hiding this comment.
Lets keep the logic where we calculate the model and simply update the balance from there. I dont want to have N+1 logic
adamsaghy
reviewed
Nov 4, 2025
adamsaghy
reviewed
Nov 4, 2025
adamsaghy
reviewed
Nov 4, 2025
adamsaghy
reviewed
Nov 4, 2025
MarianaDmytrivBinariks
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
3 times, most recently
from
November 5, 2025 12:29
c6e4376 to
fbf6041
Compare
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
from
November 6, 2025 11:27
fbf6041 to
90bab4a
Compare
MarianaDmytrivBinariks
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
from
November 7, 2025 14:37
90bab4a to
4f2e27b
Compare
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
3 times, most recently
from
November 18, 2025 16:14
726d94d to
69b6033
Compare
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
3 times, most recently
from
November 19, 2025 14:15
26969e5 to
290b10f
Compare
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
from
November 21, 2025 11:17
177a70f to
a1d27ae
Compare
…interest handling options
somasorosdpc
force-pushed
the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
from
November 21, 2025 12:40
a1d27ae to
7012cf1
Compare
adamsaghy
deleted the
FINERACT-2354/Re-aging--InterestHandlingOption-EqualAmortization
branch
November 21, 2025 14:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!
FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.