{{-- Payment Confirmation Email - Atomic Design System v2.0 Sent when a payment is successfully processed Note: $colors automatically injected via View Composer --}} @component('emails.layouts.base', [ 'title' => 'Payment Confirmed', 'previewText' => 'Your payment has been successfully processed', 'colors' => $colors ]) @component('emails.atoms.h1', ['colors' => $colors]) Payment Confirmed @endcomponent @component('emails.atoms.text', ['colors' => $colors]) Thank you for your purchase! @endcomponent {{-- Apology Banner - Shown when resending corrected tickets --}} @if($isResend ?? false) @component('emails.molecules.apology-banner', [ 'customerName' => $order->customer_name, 'eventName' => $order->EventDetail->name ?? 'the event', 'colors' => $colors ]) @endcomponent @include('emails.atoms.spacer', ['height' => '16px']) @endif @component('emails.organisms.alert-box', [ 'variant' => 'success', 'title' => 'Your payment has been successfully processed', 'colors' => $colors ]) Your tickets are confirmed and ready for the event. @endcomponent @include('emails.atoms.spacer', ['height' => '20px']) {{-- PDF Download / Attachment Notice - Moved up for better flow --}} @if($hasPdfAttachment) @component('emails.organisms.alert-box', [ 'variant' => 'info', 'title' => 'Your Tickets', 'colors' => $colors ]) Your tickets are attached to this email as a PDF. Please print or display on your mobile device at the venue. @endcomponent @include('emails.atoms.spacer', ['height' => '20px']) @elseif($downloadUrl) @component('emails.organisms.alert-box', [ 'variant' => 'warning', 'title' => 'Download Your Tickets', 'colors' => $colors ]) Your tickets are ready for download. Click the button below to get your printable PDF. @endcomponent @include('emails.atoms.spacer', ['height' => '16px'])
| @component('emails.molecules.button', [ 'href' => $downloadUrl, 'variant' => 'primary', 'colors' => $colors ]) Download Tickets (PDF) @endcomponent |
|
Amount Paid
{{ $currency }} {{ number_format($paymentAmount, 2) }}
{{ $paymentDate->format('F j, Y \a\t g:i A') }} |
| Item | Qty | Amount |
|---|---|---|
|
Ticket
@if(isset($ticket->metadata['seat_number']))
Seat: {{ $ticket->metadata['seat_number'] }} @endif |
{{ $ticket->quantity }} | {{ $currency }} {{ number_format($ticket->line_total ?? $ticket->unit_price ?? 0, 2) }} |
| Subtotal | {{ $currency }} {{ number_format($subtotal, 2) }} | |
| {{ $fee->description }} | {{ $currency }} {{ number_format($fee->line_total ?? $fee->unit_price ?? 0, 2) }} | |
| {{ $tax->description }} | {{ $currency }} {{ number_format($tax->line_total ?? $tax->unit_price ?? 0, 2) }} | |
| TOTAL PAID | {{ $currency }} {{ number_format($paymentAmount, 2) }} | |
{{-- Ticket Header --}}
Ticket: {{ $ticket['ticket_number'] }} |
| @component('emails.molecules.button', [ 'href' => $frontendUrl, 'variant' => 'primary', 'size' => 'large', 'colors' => $colors ]) View My Orders @endcomponent |