{{-- # Order Confirmation Hello {{ $order->orderable->name }}, Your order has been successfully created. Here are the details: **Order ID:** {{ $order->id }} **Order Date:** {{ $order->created_at->format('F d, Y') }} **Status:** {{ $order->status }} ### **Bookings in Your Order:** @foreach($order->bookings as $booking) **Tour Name:** {{ $booking->tour->name }} **Booking Status:** {{ $booking->refunded_at || $booking->is_refund ? 'Refunded' : 'Confirmed' }} ### **Passengers:** @foreach($booking->passengers as $passenger) - **{{ ucfirst($passenger->type) }}:** {{ $passenger->name ?? 'No name provided' }} @if ($passenger->refunded_at) (Refunded) @endif @endforeach @endforeach ### **Line Items (Addons) in Your Order:** @if($order->addons->count() > 0) @foreach($order->addons as $addon) @endforeach
Line Item Name Type Price Passenger Name
{{ $addon->product->name ?? 'N/A' }} {{ $addon->product->type ?? 'N/A' }} {{ $addon->refunded_at ? '-' : '' }}${{ number_format($addon->product->price, 2) ?? 'N/A' }} {{ $addon->passenger_name ?? 'N/A' }}
@else

No line items added yet.

@endif If you have any questions, feel free to contact us. Thanks, {{ config('app.name') }}
--}} {{-- --}}
{{--

Order Confirmation

Your order has been successfully created. Here are the details:

Email Template:

--}} {{--

{!! $templateBody !!}

--}} {!! $templateBody !!} {{--

Bookings in Your Order:

No line items added yet.

If you have any questions, feel free to contact us.

Thanks,

--}}
{{--
--}}