@extends('layouts.app') @section('title', __('Order Confirmation')) @section('content')

{{ __('Order Placed Successfully!') }}

{{ __('Thank you for your order. Your order has been received and is being processed.') }}

{{ __('Order Number') }}

{{ $order->order_number }}
{{ __('Please keep this number for your records') }}
{{ __('Order Items') }}
@foreach($order->items as $item) @endforeach
@if($item->product_image) {{ $item->product_name }} @else
@endif
{{ $item->product_name }}
@if($item->product_sku) {{ __('SKU') }}: {{ $item->product_sku }} @endif
{{ $item->quantity }}
{{ $item->formatted_total_price }}
{{ $item->formatted_unit_price }} {{ __('each') }}
{{ __('Customer Information') }}
{{ __('Name') }}:
{{ $order->customer_name }}
{{ __('Email') }}:
{{ $order->customer_email }}
{{ __('Phone') }}:
{{ $order->customer_phone }}
{{ __('Shipping Address') }}
{{ $order->shipping_first_name }} {{ $order->shipping_last_name }}
@if($order->shipping_company) {{ $order->shipping_company }}
@endif {{ $order->shipping_address_line_1 }}
@if($order->shipping_address_line_2) {{ $order->shipping_address_line_2 }}
@endif {{ $order->shipping_city }}, {{ $order->shipping_state }}
{{ $order->shipping_postal_code }}
{{ __('Order Details') }}
{{ __('Order Date') }}:
{{ $order->created_at->format('F j, Y \a\t g:i A') }}
{{ __('Order Status') }}:
{!! $order->status_badge !!}
{{ __('Shipping Method') }}:
@switch($order->shipping_method) @case('standard') {{ __('Standard Shipping (3-5 business days)') }} @break @case('express') {{ __('Express Shipping (1-2 business days)') }} @break @case('same_day') {{ __('Same Day Delivery') }} @break @default {{ $order->shipping_method }} @endswitch
{{ __('Payment Method') }}:
@switch($order->payment_method) @case('cod') {{ __('Cash on Delivery') }} @break @case('card') {{ __('Credit/Debit Card') }} @break @case('bank_transfer') {{ __('Bank Transfer') }} @break @default {{ $order->payment_method }} @endswitch
@if($order->notes)
{{ __('Order Notes') }}:
{{ $order->notes }}
@endif
{{ __('Order Summary') }}
{{ __('Subtotal') }}: {{ number_format($order->subtotal, 2) }} {{ __('SAR') }}
{{ __('Shipping') }}: {{ number_format($order->shipping_amount, 2) }} {{ __('SAR') }}
{{ __('Tax (15%)') }}: {{ number_format($order->tax_amount, 2) }} {{ __('SAR') }}
@if($order->discount_amount > 0)
{{ __('Discount') }}: -{{ number_format($order->discount_amount, 2) }} {{ __('SAR') }}
@endif
{{ __('Total') }}: {{ $order->formatted_total }}
@if($order->user_id) {{ __('View Order Details') }} @endif {{ __('Continue Shopping') }}
{{ __('What\'s Next?') }}
{{ __('Order Received') }}
{{ __('Your order has been placed') }}
{{ __('Order Processing') }}
{{ __('We\'re preparing your order') }}
{{ __('Order Shipped') }}
{{ __('Your order is on the way') }}
{{ __('Order Delivered') }}
{{ __('Enjoy your purchase!') }}
{{ __('A confirmation email has been sent to') }} {{ $order->customer_email }}. {{ __('If you don\'t receive it within a few minutes, please check your spam folder.') }}
@endsection @push('styles') @endpush