@extends('admin.layout') @section('title', 'Order Details - #' . $order->order_number) @section('heading', 'Order Details: #' . $order->order_number) @section('content')

Order #{{ $order->order_number }}

Placed on {{ $order->created_at ? $order->created_at->format('d M Y, h:i A') : 'N/A' }}
Update Order Status:
@csrf @method('PATCH')
Customer Profile Info
Name: {{ $order->user->name ?? 'N/A' }}
Email: {{ $order->user->email ?? 'N/A' }}
Phone: {{ $order->user->phone ?? 'N/A' }}
Delivery Shipping Address

{{ $order->shipping_address ?: 'Address provided at checkout' }}

Payment: {{ $order->payment_status }}
Purchased Saree Items
@foreach($order->items as $item) @endforeach
Saree Product Price Quantity Subtotal
@if($item->product && $item->product->image) {{ $item->product_name }} @endif {{ $item->product_name }}
₹{{ number_format($item->price, 2) }} {{ $item->quantity }} ₹{{ number_format($item->price * $item->quantity, 2) }}
← Back to All Orders
Total Order Amount: ₹{{ number_format($order->total_amount, 2) }}
@endsection