@include('components.frontend.head') @include('components.frontend.header')

Order Confirmation

Thank You for Your Purchase!

Your order has been successfully placed. A confirmation email has been sent to {{ $order->customer_email }}.



Customer Details
Name

{{ $order->customer_name ?? 'N/A' }}

Email Id

{{ $order->customer_email ?? 'N/A' }}

Number

{{ $order->customer_phone ?? 'N/A' }}

Shipping Address

{{ $order->shipping_address ?? 'N/A' }}

Billing Address

{{ $order->billing_address ?? 'N/A' }}

Order Summary
@php // Decode the JSON-encoded fields $productNames = json_decode($order->product_names, true) ?? []; $quantities = json_decode($order->quantities, true) ?? []; $prices = json_decode($order->prices, true) ?? []; $sizes = json_decode($order->sizes, true) ?? []; $prints = json_decode($order->prints, true) ?? []; @endphp
Order Id

#{{ $order->order_id }}


@foreach($productNames as $index => $productName)
Product

{{ $productName ?? 'N/A' }}

Quantity

{{ $quantities[$index] ?? 'N/A' }}

Size

{{ $sizes[$index] ?? '-' }}

Print Option

{{ $prints[$index] ?? 'Front & Back Print' }}

Price

{{ number_format($prices[$index] ?? '-') }} INR


@endforeach
Total

{{ number_format($order->total_price ?? '-') }} INR


@include('components.frontend.footer') @include('components.frontend.main-js')