FINERACT-2354: Third step - backdated re-age edge case for Interest bearing loans - Default Behavior, interestRecalculation = true, without dueDate change
This commit is contained in:
committed by
Adam Saghy
parent
01ca515e8f
commit
5a1c6edbef
+1
@@ -76,6 +76,7 @@ public class LoanReAgingValidator {
|
||||
|
||||
LocalDate startDate = command.localDateValueOfParameterNamed(LoanReAgingApiConstants.startDate);
|
||||
if (loan.isProgressiveSchedule()) {
|
||||
// validate re-age transaction occurs after or on the disbursement date
|
||||
baseDataValidator.reset().parameter(LoanReAgingApiConstants.startDate).value(startDate).notNull()
|
||||
.validateDateAfterOrEqual(loan.getDisbursementDate());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user