#22 - wip
This commit is contained in:
parent
753d4bb296
commit
95bead085c
@ -45,7 +45,6 @@ class VacationCalendarController extends Controller
|
|||||||
"dayOfWeek" => $day->translatedFormat("D"),
|
"dayOfWeek" => $day->translatedFormat("D"),
|
||||||
"isToday" => $day->isToday(),
|
"isToday" => $day->isToday(),
|
||||||
"isWeekend" => $day->isWeekend(),
|
"isWeekend" => $day->isWeekend(),
|
||||||
"isVacation" => Arr::random([false, false, false, false, true]),
|
|
||||||
"isHoliday" => $holidays->contains($day),
|
"isHoliday" => $holidays->contains($day),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@ -60,7 +59,6 @@ class VacationCalendarController extends Controller
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return inertia("Calendar", [
|
return inertia("Calendar", [
|
||||||
"calendar" => $calendar,
|
"calendar" => $calendar,
|
||||||
"currentMonth" => $month,
|
"currentMonth" => $month,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user