Bookings
Bookings
Upcoming and pending service bookings
Live Queue All Bookings New Booking
@if(session('success'))
{{ session('success') }}
@endif @php $total = $bookings->count(); $urgent = $bookings->where('priority','urgent')->count(); $noStaff = $bookings->whereNull('assigned_employee_id')->count(); @endphp
{{ $total }}
Active
{{ $urgent }}
Urgent
{{ $noStaff }}
Unassigned
@if($bookings->isEmpty())

No upcoming bookings. Create one now

@else @foreach($bookings as $booking)
{{ strtoupper(substr($booking->display_name, 0, 1)) }}
{{ $booking->display_name }} @if($booking->vehicle_plate || $booking->client?->vehicles->first()) {{ $booking->vehicle_plate ?? $booking->client?->vehicles->first()?->plate_number }} @endif
{{ $booking->scheduled_at->format('d M Y · H:i') }} @if($booking->address) · {{ Str::limit($booking->address, 50) }} @endif
{{ $booking->services->pluck('name')->join(' · ') }}
{{ ucfirst($booking->status) }} @if($booking->priority !== 'normal') {{ ucfirst($booking->priority) }} @endif @if($booking->assignedEmployee) 👤 {{ $booking->assignedEmployee->name }} @endif @if($booking->source === 'portal') Online @endif
KSh {{ number_format($booking->totalPrice(), 0) }}
Est. total
View @if(!in_array($booking->status, ['completed','cancelled'])) Edit
@csrf
@csrf
@endif
@endforeach @endif