josehernandezfintecheandomx commented on code in PR #2519:
URL: https://github.com/apache/fineract/pull/2519#discussion_r973173934
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/loanschedule/domain/DefaultScheduledDateGenerator.java:
##########
@@ -131,23 +133,31 @@ private AdjustedDateDetailsDTO
getAdjustedDateDetailsDTO(final LocalDate dueRepa
private AdjustedDateDetailsDTO
recursivelyCheckNonWorkingDaysAndHolidaysAndWorkingDaysExemptionToGenerateNextRepaymentPeriodDate(
final AdjustedDateDetailsDTO adjustedDateDetailsDTO, final
LoanApplicationTerms loanApplicationTerms,
final HolidayDetailDTO holidayDetailDTO, final boolean
isFirstRepayment) {
-
-
checkAndUpdateWorkingDayIfRepaymentDateIsNonWorkingDay(adjustedDateDetailsDTO,
holidayDetailDTO, loanApplicationTerms,
- isFirstRepayment);
-
+ final Recur recur =
CalendarUtils.getICalRecur(holidayDetailDTO.getWorkingDays().getRecurrence());
+ final boolean isSevenDaysWeek = (recur.getDayList().size() == 7); // 7
Seven days in the week
+ // If Workings days are not seven day week
Review Comment:
It is for the Full week evaluation and avoid to process the next Working
date If you have a full week
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]