{{-- Ticket Email - Atomic Composable v2.0 (Luxury Edition) Sent with order confirmation, displays ticket with QR code Variables: - $ticketNumber: Unique ticket identifier - $event: Event model/object with event details - $order: Order model/object - $seatNumber: Seat identifier (e.g., "A-12") - $sectionName: Section name (optional) - $price: Ticket price - $customerName: Customer full name - $qrCodeBase64: Base64 encoded QR code image - $ticketUrl: URL to download full ticket PDF Note: All design tokens auto-injected via View Composer --}} @component('emails.layouts.base', [ 'title' => 'Your Ticket - ' . $event->name, 'previewText' => 'Your ticket for ' . $event->name . ' - Seat ' . $seatNumber ]) {{-- Ticket Header --}} @component('emails.atoms.h1') Your Ticket is Ready @endcomponent @component('emails.atoms.text') Thank you for your purchase! Your ticket for {{ $event->name }} is confirmed and ready to use. @endcomponent @include('emails.atoms.spacer', ['height' => '32px']) {{-- Ticket Card with QR Code --}} @component('emails.organisms.card') {{-- Event Name --}}

{{ $event->name }}

{{-- Event Details --}}

{{ \Carbon\Carbon::parse($event->start_date)->format('l, F j, Y') }} @if($event->start_time) at {{ \Carbon\Carbon::parse($event->start_time)->format('g:i A') }} @endif

@if($event->address)

{{ $event->address }}

@endif
{{-- Ticket Details Grid --}} {{-- Left Column: Seat Info --}} {{-- Spacer --}} {{-- Right Column: Price & Ticket # --}}

Seat Number

{{ $seatNumber }}

@if($sectionName)

Section: {{ $sectionName }}

@endif

Ticket Price

{{ $event->currency ?? 'EGP' }} {{ number_format($price, 2) }}

Ticket #{{ $ticketNumber }}

{{-- Customer Info --}}

Ticket Holder

{{ $customerName }}

{{-- QR Code Section --}}

Present this QR code at the entrance

{{-- QR Code Image --}}
Ticket QR Code

Scan to validate entry

@endcomponent @include('emails.atoms.spacer', ['height' => '32px']) {{-- Download Full Ticket CTA --}}
@component('emails.molecules.button', [ 'href' => $ticketUrl, 'variant' => 'primary', 'size' => 'large' ]) Download Full Ticket PDF @endcomponent
@include('emails.atoms.spacer', ['height' => '32px']) {{-- Important Information --}} @component('emails.organisms.alert-box', ['variant' => 'warning', 'title' => 'Important Information']) This ticket is valid for one person only. Please present either this email or your downloaded PDF ticket at the entrance. Lost or stolen tickets cannot be replaced. @endcomponent @component('emails.organisms.alert-box', ['variant' => 'info', 'title' => 'Need Help?']) For any questions about your ticket or the event, please contact our support team at {{ config('mail.from.address') }} @endcomponent @component('emails.atoms.text') Enjoy the show!
The Global Gala Team @endcomponent @endcomponent