@extends('admin.layout') @section('header', 'Order #' . $order->id) @section('content')
← Back to Orders

Shipping & Billing Address

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
@if($order->order_notes)

Order Notes

{{ $order->order_notes }}

@endif

Customer Details

Name: {{ $order->customer_name }}

Email: {{ $order->customer_email }}

Phone: {{ $order->customer_phone }}

Order Summary

Date: {{ $order->created_at->format('M d, Y H:i A') }}

Status: {{ ucfirst($order->status) }}

Total: ${{ number_format($order->total_amount, 2) }}

Order Items

@foreach($order->items as $item) @endforeach
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) }}
@endsection