@extends('layouts.app') @section('title', 'Live Bookings') @push('styles') @endpush @section('content')

Live Bookings

OTA reservations received from Channel Manager

@if(session('success'))
{{ session('success') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif
Hotel code: {{ $hotelCode }}
@if($filters['search'] || $filters['show_cancelled'] || $filters['from_date'] !== now()->subDays(7)->format('Y-m-d') || $filters['to_date'] !== now()->format('Y-m-d')) Reset @endif
@csrf
Download
@forelse($bookings as $booking) @empty @endforelse
Channel Booking ID Customer Name Payment Booked On Check-in Check-out Room Total Room Night # of Rooms Meal Plan Price Status Action
{{ $booking->channel }} {{ $booking->booking_id }} {{ $booking->guestName() }} {{ $booking->paymentLabel() }} {{ $booking->bookedOnLabel() }} {{ $booking->checkinLabel() }} {{ $booking->checkoutLabel() }} {{ $booking->roomLabel() }} {{ $booking->roomNightCount() ?? '—' }} {{ $booking->roomCount() ?: '—' }} {{ $booking->mealPlanLabel() }} {{ $booking->priceLabel() }} {{ $booking->statusLabel() }}
No bookings in this date range. Run Sync from CM or php artisan cm:test-apis to add sample data.
Showing {{ $bookings->firstItem() ?? 0 }} to {{ $bookings->lastItem() ?? 0 }} of {{ $bookings->total() }} entries {{ $bookings->links() }}
@endsection @push('scripts') @endpush