@extends('layouts.admin') @section('title', 'Enquiries and bookings') @section('content')

Enquiries and bookings

Requests sent from the booking and contact forms on the website.

All {{ array_sum($counts) }} @foreach(\App\Models\Booking::STATUSES as $key => $label) {{ $label }} {{ $counts[$key] ?? 0 }} @endforeach
@if($status)@endif
@if($bookings->isEmpty())

No requests match. New requests from the website appear here.

@else
@foreach($bookings as $b) @endforeach
GuestRequestDatesGuestsStatusReceived
{{ $b->name }}
{{ $b->reference }}
{{ $b->typeLabel() }}
{{ $b->property->name ?? $b->safariPackage->name ?? $b->destination ?? '' }}
@if($b->arrival){{ $b->arrival->format('j M Y') }}@if($b->departure) → {{ $b->departure->format('j M') }}@endif @else Not given@endif {{ $b->adults }}@if($b->children) + {{ $b->children }} child{{ $b->children > 1 ? 'ren' : '' }}@endif {{ $b->statusLabel() }} {{ $b->created_at->diffForHumans() }}
@endif
{{ $bookings->links() }}
@endsection