#157 - more interactive calendar #162
| @@ -42,7 +42,7 @@ class CalendarGenerator | |||||||
|                 "isToday" => $day->isToday(), |                 "isToday" => $day->isToday(), | ||||||
|                 "isWeekend" => $day->isWeekend(), |                 "isWeekend" => $day->isWeekend(), | ||||||
|                 "isHoliday" => $holidays->contains($day), |                 "isHoliday" => $holidays->contains($day), | ||||||
|                 "isFuture" => $day->isToday() || $day >= Carbon::now(), |                 "isFuture" => $day->isFuture(), | ||||||
|                 "vacations" => $vacationsForDay->pluck("user_id"), |                 "vacations" => $vacationsForDay->pluck("user_id"), | ||||||
|                 "vacationTypes" => $vacationsForDay->pluck("vacationRequest.type", "user_id"), |                 "vacationTypes" => $vacationsForDay->pluck("vacationRequest.type", "user_id"), | ||||||
|             ]; |             ]; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user