YOUR TICKETS ARE READY ====================== You've been issued {{ $ticketCount }} complimentary {{ $ticketCount === 1 ? 'ticket' : 'tickets' }} for {{ $eventName }}. Your tickets have been confirmed. Please bring them to the venue entrance. @if($hasPdfAttachment) Your tickets are attached to this email as a PDF. Please print or display on your mobile device at the venue. @elseif($downloadUrl) Download your tickets here: {{ $downloadUrl }} @endif EVENT DETAILS ------------- Reference: {{ $orderNumber }} Guest Name: {{ $order->customer_name }} @if($order->EventDetail) Event: {{ $order->EventDetail->name }} @if($order->EventDetail->venue_name) Venue: {{ $order->EventDetail->venue_name }} @endif @if($order->EventDetail->start_date) @php $datePart = \Carbon\Carbon::parse($order->EventDetail->start_date)->format('Y-m-d'); $timePart = $order->EventDetail->start_time ?? '00:00:00'; $eventDateTime = $datePart . ' ' . $timePart; @endphp Date & Time: {{ \Carbon\Carbon::parse($eventDateTime)->format('l, F j, Y \a\t g:i A') }} @endif @endif @php $tickets = $order->lineItems->where('item_type', 'ticket'); @endphp @if($tickets->count() > 0) YOUR SEATS ---------- @foreach($tickets as $index => $ticket) Seat {{ $index + 1 }}: {{ $ticket->metadata['seat_number'] ?? $ticket->description ?? 'General Admission' }} @endforeach @endif IMPORTANT --------- Please keep this email as your ticket confirmation. Do not share your ticket codes with anyone. Questions? Contact us at {{ $supportEmail }} --- This is a complimentary ticket issued by Global Gala.