FINERACT-2412: full term tranche - capitalized income handling
This commit is contained in:
committed by
Adam Saghy
parent
4c14715078
commit
ba978c591b
+2
-1
@@ -138,7 +138,8 @@ public final class ProgressiveEMICalculator implements EMICalculator {
|
||||
.forEach(rp -> rp.setTotalDisbursedAmount(rp.getTotalDisbursedAmount().add(operation.getAmount())));
|
||||
|
||||
final int numberOfRepayments = scheduleModel.loanProductRelatedDetail().getNumberOfRepayments();
|
||||
if (scheduleModel.loanProductRelatedDetail().isAllowFullTermForTranche() && numberOfRepayments > 0) {
|
||||
if (scheduleModel.loanProductRelatedDetail().isAllowFullTermForTranche() && numberOfRepayments > 0
|
||||
&& operation.getAction().equals(EmiChangeOperation.Action.DISBURSEMENT)) {
|
||||
addFullTermTrancheDisbursement(scheduleModel, operation);
|
||||
} else {
|
||||
scheduleModel
|
||||
|
||||
Reference in New Issue
Block a user