@extends('layouts.admin') @section('title', 'Manage Order #' . $order->order_number) @section('content')
Dashboard / Orders / {{ $order->order_number }}

Order Details & Dispatch Manager

View Receipt 📥 Download PDF Invoice

Update Shipment Status

Update fulfillment stage and add courier tracking code.

@csrf @method('PATCH')

Razorpay ID: {{ $order->razorpay_payment_id ?? 'N/A' }}

Payment Mode: {{ $order->payment_method }}

Shipping & Customer Information

Recipient Name {{ $order->shipping_name }}

User Account: {{ $order->user->email ?? 'Guest' }}

Contact Phone {{ $order->shipping_phone }}
Complete Delivery Address

{{ $order->shipping_address }}, {{ $order->shipping_city }} - {{ $order->shipping_pincode }}

Ordered Items ({{ $order->items->count() }})

@foreach($order->items as $item) @php($img = $item->product?->primaryImage())
@if($img)@endif

{{ $item->product_name }}

@if($item->size) Size: {{ $item->size }} @endif @if($item->color) · Color: {{ $item->color }} @endif

Unit: ₹{{ number_format($item->unit_price, 2) }} × {{ $item->quantity }}

₹{{ number_format($item->line_total, 2) }}

Tax: ₹{{ number_format($item->tax_amount, 2) }}

@endforeach
Subtotal:₹{{ number_format($order->subtotal, 2) }}
@if($order->discount_total > 0)
Discount:-₹{{ number_format($order->discount_total, 2) }}
@endif @if($order->coupon_discount > 0)
Coupon Discount:-₹{{ number_format($order->coupon_discount, 2) }}
@endif
GST Tax:₹{{ number_format($order->tax_total, 2) }}
Grand Total: ₹{{ number_format($order->grand_total, 2) }}
@endsection