FINERACT-2114: Interest rate modification
This commit is contained in:
committed by
Adam Saghy
parent
80f4627623
commit
1286b1e72f
-4
@@ -1890,8 +1890,4 @@ public final class LoanApplicationTerms {
|
||||
this.variationDays += daysToAdd;
|
||||
}
|
||||
|
||||
public LocalDate getLoanEndDate() {
|
||||
return loanEndDate;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+4
-1
@@ -331,7 +331,10 @@ public class LoanRescheduleRequestDataValidator {
|
||||
}
|
||||
|
||||
if (rescheduleFromDate != null) {
|
||||
installment = loan.getRepaymentScheduleInstallment(rescheduleFromDate);
|
||||
final boolean isProgressiveLoanSchedule = loan.getLoanProductRelatedDetail()
|
||||
.getLoanScheduleType() == LoanScheduleType.PROGRESSIVE;
|
||||
installment = isProgressiveLoanSchedule ? loan.getRelatedRepaymentScheduleInstallment(rescheduleFromDate)
|
||||
: loan.getRepaymentScheduleInstallment(rescheduleFromDate);
|
||||
|
||||
if (installment == null) {
|
||||
dataValidatorBuilder.reset().failWithCodeNoParameterAddedToErrorCode(
|
||||
|
||||
Reference in New Issue
Block a user