@foreach ($order->tickets as $ticket) @php $qrPng = \App\Services\QrCodeGenerator::png($ticket->ticket_number, 300); $qrCid = $message->embedData($qrPng, 'ticket-' . $ticket->id . '.png', 'image/png'); @endphp @endforeach
Loyaltiya

You're all set, {{ $order->customer->name }}!

Your payment was successful. Here {{ $order->tickets->count() === 1 ? 'is your ticket' : 'are your tickets' }} for:

{{ $order->event->name }}

When: {{ $order->event->event_starts_at->format('D, M d, Y h:i A') }}

@if ($order->event->isOffline())

Where: {{ $order->event->venue_name }}

Address: {{ collect([$order->event->address_1, $order->event->city, $order->event->state, $order->event->country])->filter()->implode(', ') }}

@else

Where: Online event - streaming link will be shared before the event starts

@endif

Order total: {{ $order->currency }} {{ number_format($order->total_amount, 2) }} ({{ $order->quantity }} {{ \Illuminate\Support\Str::plural('ticket', $order->quantity) }})

Ticket QR code

Ticket #{{ $loop->iteration }} · {{ $ticket->ticket_number }}

{{ $order->customer->email }}

Show this QR code at the entrance for scanning. Each code can only be used once, so please don't share it with anyone else.

By purchasing and using these tickets, you acknowledge that you have read and agree to the Loyaltiya Tickets Terms & Conditions, Privacy Policy, and Refund Policy, available at www.loyaltiya.com.

© {{ date('Y') }} Loyaltiya. All rights reserved.