{{-- 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 @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' => '24px']) {{-- Payment Amount Highlight --}} @component('emails.organisms.section', ['background' => 'primary', 'colors' => $colors])
|
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' => $downloadUrl,
'variant' => 'secondary',
'size' => 'large',
'colors' => $colors
])
📥 Download Printable Tickets PDF
@endcomponent
Link valid for 24 hours |
| @component('emails.molecules.button', [ 'href' => $frontendUrl, 'variant' => 'primary', 'size' => 'large', 'colors' => $colors ]) View My Orders @endcomponent |