Create Booking

{{-- No Carbon here; everything is preformatted in the controller --}}

When: {{ $weekdayName }} {{ $prettyDate }} at {{ $prettyTime }}

Date (value to save): {{ $date }}

Slot ID: {{ $slot->id }}

{{-- Next step we'll add a real form. For now, just show the prefilled info. --}}
This page is prefilled from the calendar selection. Next step: add a simple form to collect the student's name and (optionally) a message, then save the booking.
@csrf {{-- Keep the selected date/slot --}} {{-- Validation summary (optional) --}} @if ($errors->any())
    @foreach ($errors->all() as $err)
  • {{ $err }}
  • @endforeach
@endif
@error('student_name')

{{ $message }}

@enderror
@error('booked_from_page')

{{ $message }}

@enderror
@error('message')

{{ $message }}

@enderror
Cancel