@extends('layouts.admin') @section('title', 'Today\'s Bookings') @section('content')

Today's Bookings

All bookings made on {{ \Carbon\Carbon::today()->format('M d, Y') }}

Back to Dashboard
@if(request()->hasAny(['search', 'source', 'status'])) Clear @endif
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($bookings as $booking) @empty @endforelse
Customer Room Booking Date Check-in Check-out Source Actions
{{ $booking->full_name }}
{{ $booking->email }}
{{ $booking->phone }}
{{ $booking->room->name ?? 'N/A' }} @if($booking->room && $booking->room->room_number)
Room #{{ $booking->room->room_number }}
@endif
{{ $booking->booking_date ? \Carbon\Carbon::parse($booking->booking_date)->format('M d, Y') : 'N/A' }}
@if($booking->status === 'confirmed') Confirmed (Paid) @elseif($booking->status === 'confirmed_no_payment') Confirmed (Unpaid) @elseif($booking->status === 'pending') Pending @else Cancelled @endif
{{ $booking->check_in ? $booking->check_in->format('M d, Y') : 'N/A' }} {{ $booking->check_out ? $booking->check_out->format('M d, Y') : 'N/A' }} {{ $booking->booking_source ?? 'N/A' }}
@if($booking->status !== 'confirmed') @endif

No bookings found for today.

@if($bookings->hasPages())
{{-- Previous Page Link --}} @if ($bookings->onFirstPage()) @else @endif {{-- Page Info --}} Showing {{ $bookings->firstItem() ?? 0 }}-{{ $bookings->lastItem() ?? 0 }} of {{ $bookings->total() }} {{ $bookings->total() == 1 ? 'booking' : 'bookings' }} {{-- Next Page Link --}} @if ($bookings->hasMorePages()) @else @endif
@else
Showing {{ $bookings->firstItem() ?? 0 }}-{{ $bookings->lastItem() ?? 0 }} of {{ $bookings->total() }} {{ $bookings->total() == 1 ? 'booking' : 'bookings' }}
@endif

Booking Details

Loading booking details...

Edit Booking

@csrf @method('PUT')

Loading booking data...

Add New Booking

@csrf
@endsection