#359 daily repayment schedule fix

This commit is contained in:
nazeer1100126
2017-04-24 16:27:23 +05:30
parent 8baf9f4cd0
commit 716f09eaf0
@@ -485,7 +485,7 @@ public class CalendarUtils {
if (recur == null) { return null; }
LocalDate startDate = disbursementDate;
final LocalDate seedDate = calendar.getStartDateLocalDate();
if (isValidRedurringDate(calendar.getRecurrence(), seedDate, startDate, isSkipRepaymentOnFirstDayOfMonth, numberOfDays)) {
if (isValidRedurringDate(calendar.getRecurrence(), seedDate, startDate, isSkipRepaymentOnFirstDayOfMonth, numberOfDays) && !frequency.equals(Recur.DAILY)) {
startDate = startDate.plusDays(1);
}
// Recurring dates should follow loanRepaymentInterval.