@extends('layouts.admin', [ 'title' => 'Appointment Calendar', 'pageTitle' => 'Appointment Calendar', 'active' => 'calendar', ]) @php $statusVariants = [ 'pending' => 'warning', 'confirmed' => 'primary', 'checked_in' => 'purple', 'completed' => 'success', 'cancelled' => 'danger', 'no_show' => 'muted', ]; $blockClasses = [ 'pending' => 'border-amber-200 bg-amber-50/95 text-amber-800', 'confirmed' => 'border-blue-200 bg-blue-50/95 text-blue-800', 'checked_in' => 'border-violet-200 bg-violet-50/95 text-violet-800', 'completed' => 'border-emerald-200 bg-emerald-50/95 text-emerald-800', 'cancelled' => 'border-red-200 bg-red-50/95 text-red-700', 'no_show' => 'border-slate-200 bg-slate-50/95 text-slate-700', ]; $columnCount = max(1, $staffProfiles->count()); $startHour = min($calendarHours); $endHour = max($calendarHours); $dayStart = $selectedDate->copy()->setTime($startHour, 0); $previousDate = $selectedDate->copy()->subDay()->toDateString(); $nextDate = $selectedDate->copy()->addDay()->toDateString(); @endphp @section('content')
Review staff availability, time slots, and daily appointment flow.
{{ $item->customer?->name ?? 'Customer removed' }}
{{ $item->service?->name ?? 'Service removed' }}