{{-- resources/views/conference/index.blade.php --}} @extends('layouts.app') @section('title', 'Conference') @section('page_title', 'Conference & Events') @section('page_subtitle', 'Venue bookings and event management') @section('content') {{-- Stats --}}
{{ $stats['venues'] }}
Venues
{{ $stats['upcoming'] }}
Upcoming Bookings
{{ $stats['this_month'] }}
Events This Month
${{ number_format($stats['revenue'], 0) }}
Revenue This Month
{{-- Nav --}}
All Bookings New Booking Venues Packages
{{-- Upcoming Bookings --}}
Upcoming Events All bookings →
@if($upcoming->isEmpty())

No upcoming conference bookings

@else
@foreach($upcoming 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
{{-- Date block --}}
{{ $booking->start_date->format('d') }}
{{ $booking->start_date->format('M') }}
{{ $booking->event_name }}
{{ $booking->venue?->name }} {{ $booking->pax }} pax @if($booking->start_time) {{ $booking->start_time }} @endif @if($booking->contact_name) {{ $booking->contact_name }} @endif
{{ ucfirst($booking->status) }} ${{ number_format($booking->total_amount, 0) }}
@endforeach
@endif
{{-- Venues --}}
@if($venues->isEmpty())

No venues configured

Add Venue
@else
@foreach($venues as $venue)
{{ $venue->name }}
@if($venue->capacity_theatre) Theatre: {{ $venue->capacity_theatre }} @endif @if($venue->capacity_boardroom) · Boardroom: {{ $venue->capacity_boardroom }} @endif @if($venue->size_sqm) · {{ $venue->size_sqm }}m² @endif
{{ $venue->active_bookings_count }} active
@if($venue->full_day_rate)
${{ number_format($venue->full_day_rate, 0) }}/day
@endif
@endforeach
@endif
@endsection