{{-- Main Container --}}
{{-- Internal Styles for Modern Aesthetics --}} {{-- Top Header --}}

Season Pass Bays & Vehicles

Live season pass bay and vehicle plate records by parking site location.

{{-- Flash Messages --}} @if (session()->has('success')) @endif @if (session()->has('error')) @endif {{-- Filter Card --}}
{{-- Site Filter --}}
{{-- Search Input --}}
@if (!empty($search)) @endif
{{-- Per Page --}}
{{-- Stats Summary --}}
Total Bay Records:
{{ $total }} records
{{-- Table Card --}}
@forelse ($rows as $r) {{-- Sequential Index --}} {{-- Site --}} {{-- Bay Number & Unique ID --}} {{-- Vehicle 1 --}} {{-- Vehicle 2 --}} {{-- Vehicle 3 --}} {{-- Vehicle 4 --}} {{-- Customer Name --}} {{-- Validity --}} {{-- Antipassback (Interactive Toggle) --}} {{-- Status --}} {{-- Action: Edit Button --}} @empty @endforelse
# Site ID & Name Bay # Vehicle Slot 1 Vehicle Slot 2 Vehicle Slot 3 Vehicle Slot 4 Customer Name Validity Period Antipassback Status Action
{{ $r['id'] }}
[{{ $r['site_id'] }}] {{ $r['site_name'] }} @if (!empty($r['access_level'])) {{ $r['access_level'] }} @endif
Bay {{ $r['bay_number'] }} @if (!empty($r['bay_code']))
{{ $r['bay_code'] }}
@endif
@if (!empty($r['vehicle_no_1']) && $r['vehicle_no_1'] !== 'N/A') {{ $r['vehicle_no_1'] }} @else N/A @endif @if (!empty($r['vehicle_no_2']) && $r['vehicle_no_2'] !== 'N/A') {{ $r['vehicle_no_2'] }} @else N/A @endif @if (!empty($r['vehicle_no_3']) && $r['vehicle_no_3'] !== 'N/A') {{ $r['vehicle_no_3'] }} @else N/A @endif @if (!empty($r['vehicle_no_4']) && $r['vehicle_no_4'] !== 'N/A') {{ $r['vehicle_no_4'] }} @else N/A @endif
{{ $r['customer_name'] }}
{{ $r['start_date'] }} {{ $r['end_date'] }}
@php $isApb = (($r['antipassback'] ?? 'ON') === 'ON'); @endphp @php $badgeClass = match ($r['status']) { 'active' => 'bg-success', 'expired' => 'bg-danger', 'suspended' => 'bg-warning text-dark', default => 'bg-secondary', }; @endphp {{ $r['status'] }}
No season pass records found for the selected criteria.
{{-- Pagination Links --}} @if ($rows->hasPages()) @endif
{{-- Edit Bay & Vehicles Modal --}} @if ($showEditModal) @endif {{-- JSON Preview Modal --}} @if ($showJsonModal) @endif