FINERACT-2114: Interest rate modification - Advanced payment allocation processor support
This commit is contained in:
committed by
Adam Saghy
parent
3e64cc1536
commit
94360c9f8a
+5
-3
@@ -26,9 +26,11 @@ public enum LoanTermVariationType {
|
||||
PRINCIPAL_AMOUNT(3, "loanTermType.principalAmount"), //
|
||||
DUE_DATE(4, "loanTermType.dueDate"), //
|
||||
INSERT_INSTALLMENT(5, "loanTermType.insertInstallment"), //
|
||||
DELETE_INSTALLMENT(6, "loanTermType.deleteInstallment"), GRACE_ON_INTEREST(7, "loanTermType.graceOnInterest"), GRACE_ON_PRINCIPAL(8,
|
||||
"loanTermType.graceOnPrincipal"), EXTEND_REPAYMENT_PERIOD(9,
|
||||
"loanTermType.extendRepaymentPeriod"), INTEREST_RATE_FROM_INSTALLMENT(10, "loanTermType.interestRateFromInstallment");
|
||||
DELETE_INSTALLMENT(6, "loanTermType.deleteInstallment"), //
|
||||
GRACE_ON_INTEREST(7, "loanTermType.graceOnInterest"), //
|
||||
GRACE_ON_PRINCIPAL(8, "loanTermType.graceOnPrincipal"), //
|
||||
EXTEND_REPAYMENT_PERIOD(9, "loanTermType.extendRepaymentPeriod"), //
|
||||
INTEREST_RATE_FROM_INSTALLMENT(10, "loanTermType.interestRateFromInstallment"); //
|
||||
|
||||
private final Integer value;
|
||||
private final String code;
|
||||
|
||||
+1
-1
@@ -478,7 +478,7 @@ public abstract class AbstractLoanRepaymentScheduleTransactionProcessor implemen
|
||||
&& disbursementDate.equals(loanRepaymentScheduleInstallment.getObligationsMetOnDate());
|
||||
}
|
||||
|
||||
private boolean isNotObligationsMet(LoanRepaymentScheduleInstallment loanRepaymentScheduleInstallment) {
|
||||
protected boolean isNotObligationsMet(LoanRepaymentScheduleInstallment loanRepaymentScheduleInstallment) {
|
||||
return !loanRepaymentScheduleInstallment.isObligationsMet() && loanRepaymentScheduleInstallment.getObligationsMetOnDate() == null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user