@extends('layouts.app') @section('content')
@if(session('success')) @endif

Exhibitions Master List

Manage all centralized exhibitions, schedules, and team tracking.

Create Exhibition
All Scheduled Events
@if($exhibitions->isEmpty()) @else @foreach($exhibitions as $index => $exhibition) @endforeach @endif
SR. NO. EXHIBITION INFO CITY & LOCATION DATES (DURATION) ASSIGNED TEAM STATUS DEADLINE ACTIONS
No exhibitions created yet. Click "Create Exhibition" to get started!
{{ $index + 1 }} {{ $exhibition->name }} ID: #EX-00{{ $exhibition->id }} {{ $exhibition->city }} {{ $exhibition->location }} {{ \Carbon\Carbon::parse($exhibition->start_date)->format('d M') }} - {{ \Carbon\Carbon::parse($exhibition->end_date)->format('d M, Y') }} @php $manager = $exhibition->users->where('role', 'manager')->first(); $employeeCount = $exhibition->users->where('role', 'employee')->count(); @endphp M: {{ $manager->name ?? 'Unassigned' }} Staff: {{ $employeeCount }} Employees @php $statusColors = [ 'upcoming' => ['bg' => '#eff6ff', 'color' => '#1e40af'], 'ongoing' => ['bg' => '#fef3c7', 'color' => '#92400e'], 'completed' => ['bg' => '#d1e7dd', 'color' => '#0f5132'], 'cancelled' => ['bg' => '#f8d7da', 'color' => '#842029'] ]; $style = $statusColors[$exhibition->status] ?? ['bg' => '#e2e8f0', 'color' => '#334155']; @endphp {{ $exhibition->status }} {{ \Carbon\Carbon::parse($exhibition->report_deadline)->format('h:i A') }} View Stock
@endsection