PAYMENT CONFIRMATION ==================== Thank you for your purchase! ✓ Your payment has been successfully processed Your tickets are confirmed and ready for the event. AMOUNT PAID: {{ $currency }} {{ number_format($paymentAmount, 2) }} Payment Date: {{ $paymentDate->format('F j, Y \a\t g:i A') }} ORDER INFORMATION ----------------- Order Number: {{ $orderNumber }} Ticket Number: {{ $ticketNumber }} Customer Name: {{ $order->customer_name }} Email: {{ $order->customer_email }} @if($order->EventDetail) Event: {{ $order->EventDetail->name }} @if($order->EventDetail->event_date) Event Date: {{ \Carbon\Carbon::parse($order->EventDetail->event_date)->format('F j, Y \a\t g:i A') }} @endif @endif PAYMENT DETAILS --------------- Payment Method: {{ ucfirst($paymentMethod) }} Transaction ID: {{ $transactionId }} Payment Status: ✓ Confirmed @if(count($lineItems) > 0) ORDER BREAKDOWN --------------- @php $tickets = $lineItems->where('item_type', 'ticket'); $fees = $lineItems->where('item_type', 'booking_fee'); $taxes = $lineItems->where('item_type', 'tax'); $subtotal = $tickets->sum('amount'); @endphp Tickets: @foreach($tickets as $ticket) - {{ $ticket->description }}@if(isset($ticket->metadata['seat_number'])) (Seat: {{ $ticket->metadata['seat_number'] }})@endif Qty: {{ $ticket->quantity }} - {{ $currency }} {{ number_format($ticket->amount, 2) }} @endforeach @if($subtotal > 0) Subtotal: {{ $currency }} {{ number_format($subtotal, 2) }} @endif @foreach($fees as $fee) {{ $fee->description }}: {{ $currency }} {{ number_format($fee->amount, 2) }} @endforeach @foreach($taxes as $tax) {{ $tax->description }}: {{ $currency }} {{ number_format($tax->amount, 2) }} @endforeach TOTAL PAID: {{ $currency }} {{ number_format($paymentAmount, 2) }} @endif TICKETS ATTACHED ---------------- Your tickets are attached to this email as a PDF. Please save them and present them at the event entrance. SECURITY NOTICE --------------- This confirmation email serves as proof of purchase. Please keep it for your records. Do not share your ticket number or QR codes with anyone. View your orders: {{ $frontendUrl }} NEED HELP? ---------- Contact us at {{ $supportEmail }} This is an automated confirmation email. © {{ date('Y') }} Global Gala. All rights reserved.