#359 daily repayment schedule fix
This commit is contained in:
+1
-1
@@ -485,7 +485,7 @@ public class CalendarUtils {
|
|||||||
if (recur == null) { return null; }
|
if (recur == null) { return null; }
|
||||||
LocalDate startDate = disbursementDate;
|
LocalDate startDate = disbursementDate;
|
||||||
final LocalDate seedDate = calendar.getStartDateLocalDate();
|
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);
|
startDate = startDate.plusDays(1);
|
||||||
}
|
}
|
||||||
// Recurring dates should follow loanRepaymentInterval.
|
// Recurring dates should follow loanRepaymentInterval.
|
||||||
|
|||||||
Reference in New Issue
Block a user