alberto-art3ch commented on code in PR #3836:
URL: https://github.com/apache/fineract/pull/3836#discussion_r1548201859
##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/domain/LoanApplicationTerms.java:
##########
@@ -1871,4 +1871,16 @@ public LocalDate getRepaymentStartDate() {
: getSubmittedOnDate();
}
+ public boolean isLastInstallment(final Integer installmentNumber) {
+ Integer numberOfRepayments = getNumberOfRepayments();
+ if (isDownPaymentEnabled()) {
Review Comment:
Using the installment number for the last installment is different when you
are using Down Payment (It creates a new installment) so we need to consider
that when we need to identify the last installment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]