FINERACT-1981: Enhance EMI Adjustment
This commit is contained in:
committed by
Arnold Gálovics
parent
6994bc687b
commit
d704852228
+2
-2
@@ -324,7 +324,7 @@ public final class ProgressiveEMICalculator implements EMICalculator {
|
||||
final List<RepaymentPeriod> relatedRepaymentPeriods) {
|
||||
MathContext mc = scheduleModel.mc();
|
||||
ProgressiveLoanInterestScheduleModel newScheduleModel = null;
|
||||
int adjustCounter = 0;
|
||||
int adjustCounter = 1;
|
||||
EmiAdjustment emiAdjustment;
|
||||
|
||||
do {
|
||||
@@ -367,7 +367,7 @@ public final class ProgressiveEMICalculator implements EMICalculator {
|
||||
});
|
||||
calculateOutstandingBalance(scheduleModel);
|
||||
adjustCounter++;
|
||||
} while (emiAdjustment.hasUncountablePeriods() && adjustCounter < 3);
|
||||
} while (adjustCounter <= 3);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user