diff --git a/app/Filament/Tenant/Pages/CalendarBoard.php b/app/Filament/Tenant/Pages/CalendarBoard.php index a6196ef..adb88bf 100644 --- a/app/Filament/Tenant/Pages/CalendarBoard.php +++ b/app/Filament/Tenant/Pages/CalendarBoard.php @@ -34,6 +34,12 @@ class CalendarBoard extends Page public ?int $editId = null; + /** Register all forms used by this page (Filament v5 multi-form pattern). */ + protected function getForms(): array + { + return ['createForm']; + } + public function getEvents(string $start, string $end): array { return Appointment::with(['client:id,name', 'vehicle:id,plate,make,model', 'master:id,name,color', 'post:id,name,color']) diff --git a/resources/views/filament/tenant/pages/calendar.blade.php b/resources/views/filament/tenant/pages/calendar.blade.php index c59fc3a..10bbaa4 100644 --- a/resources/views/filament/tenant/pages/calendar.blade.php +++ b/resources/views/filament/tenant/pages/calendar.blade.php @@ -1,7 +1,8 @@ - + {{-- FullCalendar v6 ships CSS bundled in JS — no separate stylesheet needed --}} +