FINERACT-2221: Add immediate charge accrual post maturity for progressive loans
This commit is contained in:
committed by
Adam Saghy
parent
241906e042
commit
3687391148
@@ -644,6 +644,11 @@ public class Loan extends AbstractAuditableWithUTCDateTimeCustom<Long> {
|
||||
if (isProgressiveSchedule()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return createChargeAppliedTransaction(loanCharge, suppliedTransactionDate);
|
||||
}
|
||||
|
||||
public LoanTransaction createChargeAppliedTransaction(final LoanCharge loanCharge, final LocalDate suppliedTransactionDate) {
|
||||
final Money chargeAmount = loanCharge.getAmount(getCurrency());
|
||||
Money feeCharges = chargeAmount;
|
||||
Money penaltyCharges = Money.zero(getCurrency());
|
||||
|
||||
Reference in New Issue
Block a user