Apply suggestions from code review
Co-authored-by: Krzysztof Rewak <krzysztof.rewak@gmail.com>
This commit is contained in:
		| @@ -42,7 +42,7 @@ class CalendarGenerator | ||||
|                 "isToday" => $day->isToday(), | ||||
|                 "isWeekend" => $day->isWeekend(), | ||||
|                 "isHoliday" => $holidays->contains($day), | ||||
|                 "isFuture" => $day->isToday() || $day >= Carbon::now(), | ||||
|                 "isFuture" => $day->isFuture(), | ||||
|                 "vacations" => $vacationsForDay->pluck("user_id"), | ||||
|                 "vacationTypes" => $vacationsForDay->pluck("vacationRequest.type", "user_id"), | ||||
|             ]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user