{{--
Order #{{ $order->id }} Details
--}}Order Details
Customer: {{ $order->first_name && $order->last_name ? ($order->first_name . ' ' . $order->last_name) : 'Guest' }}
Country: {{ $order->country ?? '' }}
City: {{ $order->city ?? '' }}
Address: {{ $order->shipping_address ?? '' }}
Phone: {{ $order->phone_number ?? '' }}
Province Code: {{ $order->pro_code ?? '' }}
ZIP/Postal Code: {{ $order->zip_code ?? '' }}
Sub Total: ${{ number_format($subtotal, 2) }}
@if($discount > 0)Total Discount: ${{ number_format($discount, 2) }}
@endif @if($shipping > 0)Shipping Amount: ${{ number_format($shipping, 2) }}
@endifTotal: ${{ number_format($finalTotal, 2) }}
| Item Name | Quantity | Size | Color | Price | Payment Status | Subtotal | |
|---|---|---|---|---|---|---|---|
| {{ $item->product->product_name ?? '-' }} | {{ $item->quantity ?? '-' }} | {{ $item->size ?? '-' }} | @if($item->color == 'Select Color'){{ 'No Color' }} | @else{{ $item->color ?? '-' }} | @endif${{ number_format($item->price, 2) ?? '-'}} | @if ($order->status == 1) Payment Successful @else Unpaid @endif | ${{ number_format($item->quantity * $item->price, 2) ?? '-'}} |