FINERACT-2389: e2e test scenarios with pay-off after contract termination
This commit is contained in:
committed by
Adam Saghy
parent
a5a290debc
commit
949fcc9e0e
+1
-1
@@ -153,7 +153,7 @@ public class LoanTransactionProcessingServiceImpl implements LoanTransactionProc
|
||||
public OutstandingAmountsDTO fetchPrepaymentDetail(final ScheduleGeneratorDTO scheduleGeneratorDTO, final LocalDate onDate, Loan loan) {
|
||||
OutstandingAmountsDTO outstandingAmounts;
|
||||
|
||||
if (loan.isInterestBearingAndInterestRecalculationEnabled() && !loan.isChargeOffOnDate(onDate)) {
|
||||
if (loan.isInterestBearingAndInterestRecalculationEnabled() && !loan.isChargeOffOnDate(onDate) && !loan.isContractTermination()) {
|
||||
final MathContext mc = MoneyHelper.getMathContext();
|
||||
|
||||
final InterestMethod interestMethod = loan.getLoanRepaymentScheduleDetail().getInterestMethod();
|
||||
|
||||
Reference in New Issue
Block a user