FINERACT-2354: Re-aging:- Accrual and Accrual Activity handling - Default Handling
This commit is contained in:
committed by
Adam Saghy
parent
09031aa5a7
commit
fcf1fb6126
@@ -1764,6 +1764,10 @@ public class Loan extends AbstractAuditableWithUTCDateTimeCustom<Long> {
|
||||
return getLoanTransaction(e -> e.isNotReversed() && e.isContractTermination());
|
||||
}
|
||||
|
||||
public LoanTransaction findReAgeTransaction() {
|
||||
return getLoanTransaction(LoanTransaction::isReAge);
|
||||
}
|
||||
|
||||
public void handleMaturityDateActivate() {
|
||||
if (this.expectedMaturityDate != null && !this.expectedMaturityDate.equals(this.actualMaturityDate)) {
|
||||
this.actualMaturityDate = this.expectedMaturityDate;
|
||||
|
||||
Reference in New Issue
Block a user