@if (session('status'))
{{ session('status') }}
@endif @if (session('error'))
{{ session('error') }}
@endif

Reservations

{{ $reservations->total() }} matching · bookings, in-house, departures

@can('reservations.create') @include('layouts.partials.icon', ['name' => 'plus', 'class' => 'w-4 h-4']) New reservation @endcan
@php $tabs = [ 'all' => ['label' => 'All', 'count' => null], 'arrivals' => ['label' => 'Arrivals today', 'count' => $counts['arrivals']], 'in_house' => ['label' => 'In house', 'count' => $counts['in_house']], 'departures' => ['label' => 'Departures today', 'count' => $counts['departures']], 'upcoming' => ['label' => 'Upcoming', 'count' => $counts['upcoming']], ]; @endphp
@foreach ($tabs as $key => $tab) @endforeach
@if ($reservations->isEmpty())
No reservations match your filters.
@else @foreach ($reservations as $res) @php $colorClasses = match ($res->status_color) { 'green' => 'bg-green-100 text-green-700', 'blue' => 'bg-blue-100 text-blue-700', 'yellow' => 'bg-yellow-100 text-yellow-700', 'orange' => 'bg-orange-100 text-orange-700', 'red' => 'bg-red-100 text-red-700', 'gray' => 'bg-sand-200 text-ink-soft', default => 'bg-sand-200 text-ink-soft', }; @endphp @endforeach
Confirmation Guest Stay Type / Room Status Total
{{ $res->confirmation_number }}
{{ $res->guest?->full_name }}
{{ $res->guest?->email }}
{{ $res->check_in_date->format('d M') }} → {{ $res->check_out_date->format('d M Y') }} ({{ $res->nights }}n)
{{ $res->roomType?->name }}
@if ($res->room)
Room {{ $res->room->room_number }}
@endif
{{ $res->status_label }} ${{ number_format($res->total_amount, 2) }}
{{ $reservations->links() }}
@endif