@extends('layouts.app') @section('title', 'Bookings') @section('page-title', 'Bookings') @section('content')
Reset
@forelse($bookings as $booking) @empty @endforelse
ReferenceGuestRoomCheck-inCheck-outNightsSourceStatusActions
{{ $booking->booking_reference }}
{{ $booking->guest->full_name }}
@if($booking->guest->status === 'vip') VIP @endif
{{ $booking->room->room_number }}
{{ $booking->room->roomType->name }}
{{ $booking->check_in_date->format('d M Y') }} {{ $booking->check_out_date->format('d M Y') }} {{ $booking->nights }} {{ str_replace('_',' ',ucfirst($booking->source)) }} @if($booking->status==='reserved') Reserved @elseif($booking->status==='checked_in') Checked In @elseif($booking->status==='checked_out') Checked Out @elseif($booking->status==='cancelled') Cancelled @elseif($booking->status==='no_show') No Show @endif
@if($booking->status === 'reserved')
@csrf
@elseif($booking->status === 'checked_in')
@csrf
@endif

No bookings found

Create your first booking to get started.

New Booking
@if($bookings->hasPages()) @endif
@endsection