FINERACT-2148: Backdated Charge-off with interest recalculation
This commit is contained in:
+5
-1
@@ -1187,7 +1187,7 @@ public class Loan extends AbstractAuditableWithUTCDateTimeCustom<Long> {
|
||||
doPostLoanTransactionChecks(getLastUserTransactionDate(), loanLifecycleStateMachine);
|
||||
}
|
||||
|
||||
public boolean isInterestRecalculationEnabledForProduct() {
|
||||
private boolean isInterestRecalculationEnabledForProduct() {
|
||||
return this.loanProduct.isInterestRecalculationEnabled();
|
||||
}
|
||||
|
||||
@@ -2647,6 +2647,10 @@ public class Loan extends AbstractAuditableWithUTCDateTimeCustom<Long> {
|
||||
return BigDecimal.ZERO.compareTo(getLoanRepaymentScheduleDetail().getAnnualNominalInterestRate()) < 0;
|
||||
}
|
||||
|
||||
public boolean isInterestRecalculationEnabled() {
|
||||
return this.loanRepaymentScheduleDetail.isInterestRecalculationEnabled();
|
||||
}
|
||||
|
||||
public LocalDate getMaturityDate() {
|
||||
return this.actualMaturityDate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user