417 flat interest free period

This commit is contained in:
nazeer1100126
2017-04-21 18:16:53 +05:30
parent 8baf9f4cd0
commit 3c44d92991
@@ -1105,6 +1105,12 @@ public final class LoanApplicationTerms {
}
}
Integer periodsRemaining = totalNumberOfRepaymentPeriods - periodsElapsed - principalFeePeriods;
/**
* if grace period available then need to be subtracted
*/
if(this.interestChargingGrace != null){
periodsRemaining = periodsRemaining - this.interestChargingGrace;
}
return periodsRemaining;
}