{{-- resources/views/conference/bookings/index.blade.php --}} @extends('layouts.app') @section('title', 'Conference Bookings') @section('page_title', 'Conference Bookings') @section('page_subtitle', 'All venue and event bookings') @section('content') {{-- Stats --}}
{{ $stats['tentative'] }}
Tentative
{{ $stats['confirmed'] }}
Confirmed
${{ number_format($stats['revenue'], 0) }}
Revenue This Month
{{-- Filters --}}
Bookings {{ $bookings->total() }} total
@if($bookings->isEmpty())

No bookings found

Create First Booking
@else
@foreach($bookings as $booking) @php $sc = [ 'tentative' => ['bg'=>'#fef3c7','color'=>'#92400e'], 'confirmed' => ['bg'=>'#d1fae5','color'=>'#065f46'], 'completed' => ['bg'=>'#f1f5f9','color'=>'#64748b'], 'cancelled' => ['bg'=>'#fee2e2','color'=>'#991b1b'], ][$booking->status] ?? ['bg'=>'#f1f5f9','color'=>'#475569']; @endphp @endforeach
Reference Event Venue Client Date Pax Total Status
{{ $booking->reference }}
{{ $booking->event_name }}
@if($booking->event_type)
{{ $booking->event_type }}
@endif
{{ $booking->venue?->name }} {{ $booking->contact_name }} @if($booking->company)
{{ $booking->company->name }}
@endif
{{ $booking->start_date->format('d M Y') }} @if($booking->start_date->toDateString() !== $booking->end_date->toDateString())
– {{ $booking->end_date->format('d M') }} @endif
{{ $booking->pax }} ${{ number_format($booking->total_amount, 2) }} {{ ucfirst($booking->status) }} View →
@if($bookings->hasPages())
{{ $bookings->links() }}
@endif @endif
@endsection