{{--

Match Tickets

--}}
@php $available = $tickets->filter(fn($t) => $t->is_available); $unavailable = $tickets->filter(fn($t) => !$t->is_available); @endphp {{-- AVAILABLE TICKETS --}} @forelse ($available as $t)
{{ $t->category === 'league' ? 'Cambodia Premier League' : 'Hun Sen Cup' }}
{{-- Left Team --}}
{{ $t->nameteam1 }}
{{-- CENTER INFO (Stadium/Date/VS) --}}
VS
{{-- Date --}}
{{ \Carbon\Carbon::parse($t->date)->format('M d') }}
{{-- Time --}}
{{ $t->time }}
{{-- Stadium --}}

{{ $t->stadium }}
{{-- Right Team --}}
{{ $t->nameteam2 }}
@empty
{{-- Card Container --}}
{{-- Icon --}}
{{-- Text --}}

No Tickets Available

There are no upcoming matches available for booking at this moment. Follow us for updates on the next season!

{{-- Social Links --}}
{{-- End Card Container --}}
@endforelse {{-- UNAVAILABLE TICKETS --}} {{-- @foreach ($unavailable as $t)
{{ $t->category }}
{{ $t->nameteam1 }}
VS
SOLD OUT
{{ $t->stadium }}
{{ $t->nameteam2 }}
@endforeach --}}