@php // Pull team names with graceful fallbacks $team1Name = $ticket->nameteam1 ?? ($ticket->team1 ?? 'Team 1'); $team2Name = $ticket->nameteam2 ?? ($ticket->team2 ?? 'Team 2'); $team1Logo = asset($ticket->image1 ?? ''); $team2Logo = asset($ticket->image2 ?? ''); @endphp
@if ($ticket->image1 ?? false) @endif
{{ $team1Name }}
VS
Purchase 3 tickets
@if ($ticket->image2 ?? false) @endif
{{ $team2Name }}
@csrf {{-- Phone --}}
{{-- Seat Types --}}
Tap to select
@foreach ($ticket->seatTypes as $seatType) @php $isVip = in_array($seatType->name, ['vip_seat', 'vip_room']); $seatName = match ($seatType->name) { 'vip_seat' => 'VIP SEAT', 'vip_room' => 'VIP ROOM', 'red_A_B' => 'RED-A&B', 'blue_C_D' => 'BLUE-C&D', default => strtoupper(str_replace('_', '-', $seatType->name)), }; @endphp @endforeach
{{-- Ticket count pills --}}
{{-- Total --}}
Total
$0.00