@php $footerPage = \App\Models\DynamicPage::where('slug', 'footer')->first(); $logoUrl = null; if ($footerPage && isset($footerPage->content['header_image']) && !empty($footerPage->content['header_image'])) { $logoUrl = asset('storage/' . $footerPage->content['header_image']); } @endphp @if($logoUrl) {{ config('app.name') }} @else
{{ config('app.name') }}
@endif

Booking Confirmed!

Hello {{ $booking->customer_name }},
Thank you for your purchase. Your booking is confirmed and your tickets have been secured. Below are your event and booking details.

Booking Reference {{ $booking->booking_reference }}

Event Details

Event {{ $booking->event ? $booking->event->title : 'N/A' }}
Date {{ $booking->event && $booking->event->event_date ? $booking->event->event_date->format('l, F j, Y') : 'N/A' }}
Time {{ $booking->event && $booking->event->start_time ? \Carbon\Carbon::parse($booking->event->start_time)->format('g:i A') : 'N/A' }}
Venue {{ $booking->event ? ($booking->event->address . ', ' . $booking->event->city) : 'N/A' }}

Ticket & Payment Details

Seats Booked {{ $booking->bookingSeats->map(function($bs) { return $bs->seat ? $bs->seat->seat_number : 'N/A'; })->implode(', ') }}
Ticket Price ${{ number_format($booking->total_amount, 2) }}
Service Charge ${{ number_format($booking->service_charge_total, 2) }}
Total Amount Paid ${{ number_format($booking->total_amount + $booking->service_charge_total, 2) }}
Payment Method {{ ucfirst($booking->payment_method ?? 'N/A') }}
Transaction Ref {{ $booking->payment_reference ?? 'N/A' }}

If you have any questions, concerns, or require special assistance, please feel free to contact support.

{{ config('app.name') }}

Designed for premium events and exclusive showcases.

© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.