Merge branch 'FINERACT-417' into develop

This commit is contained in:
Nazeer Hussain Shaik
2017-05-05 17:30:16 +05:30
@@ -1112,6 +1112,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;
}