@extends('admin.layout') @section('header', 'Order #' . $order->id) @section('content')
Country: {{ $order->country }}
State: {{ $order->state }}
City: {{ $order->city }}
Pincode: {{ $order->pincode ?? 'N/A' }}
Address Line 1: {{ $order->address_line_1 }}
@if($order->address_line_2)Address Line 2: {{ $order->address_line_2 }}
@endif @if($order->landmark)Landmark: {{ $order->landmark }}
@endif{{ $order->order_notes }}
Name: {{ $order->customer_name }}
Email: {{ $order->customer_email }}
Phone: {{ $order->customer_phone }}
Date: {{ $order->created_at->format('M d, Y H:i A') }}
Status: {{ ucfirst($order->status) }}
Total: ${{ number_format($order->total_amount, 2) }}
| Product | Variation | Price | Qty | Subtotal |
|---|---|---|---|---|
| {{ $item->product->name }} | @if($item->variation) {{ $item->variation->variation_name }}: {{ $item->variation->variation_value }} @else - @endif | ${{ number_format($item->price, 2) }} | {{ $item->quantity }} | ${{ number_format($item->price * $item->quantity, 2) }} |