{{-- views/themes/default/order-confirmation.blade.php --}} @extends('themes.default.layout') @section('title', 'Order Confirmation - ' . $website->name) @section('content')
@if(session('success')) @endif

Order Confirmed!

Thank you for your order. We've received your order and will process it shortly.

Order #{{ $order->order_number }}
Order Information
Order Number:
{{ $order->order_number }}
Order Date:
{{ $order->created_at->format('F j, Y \a\t g:i A') }}
Payment Method:
@switch($order->payment_method) @case('chipin') ChipIn @break @case('bank_transfer') Bank Transfer @break @case('cash_on_delivery') Cash on Delivery @break @default {{ ucfirst(str_replace('_', ' ', $order->payment_method)) }} @endswitch
Payment Status:
{{ ucfirst($order->payment_status) }}
Order Status:
{{ ucfirst($order->status) }}
@if($order->payment_reference)
Payment Reference:
{{ $order->payment_reference }}
@endif
Customer Information
Name:
{{ $order->customer_name }}
Email:
{{ $order->customer_email }}
@if($order->customer_phone)
Phone:
{{ $order->customer_phone }}
@endif
Addresses
Billing Address
{{ $order->formatted_billing_address }}
Shipping Address
{{ $order->formatted_shipping_address }}
Order Items
@foreach($order->items as $item) @endforeach
Product Unit Price Quantity Total
@if($item->product && $item->product->images && count($item->product->images) > 0) {{ $item->display_name }} @else
@endif
{{ $item->display_name }}
@if($item->product_sku) SKU: {{ $item->product_sku }} @endif @if($item->variation_details)
{{ $item->variation_details }}
@endif
RM {{ number_format($item->unit_price, 2) }} {{ $item->quantity }} RM {{ number_format($item->total_price, 2) }}
@if($order->notes)
Order Notes

{{ $order->notes }}

@endif
Order Summary
Subtotal: RM {{ number_format($order->subtotal, 2) }}
Shipping: RM {{ number_format($order->shipping_amount, 2) }}
Tax: RM {{ number_format($order->tax_amount, 2) }}
@if($order->discount_amount > 0)
Discount: -RM {{ number_format($order->discount_amount, 2) }}
@endif
Total: RM {{ number_format($order->total_amount, 2) }}
Continue Shopping
What's Next?
Order confirmed and being prepared
Your order will be packed carefully
We'll send you tracking information
Delivery within 3-5 business days
Need Help?

If you have any questions about your order, please contact our support team.

support@{{ $website->domain }}
+60 12-345 6789
@endsection