@extends('layouts.admin') @section('title', 'Manage Customer Orders & Shipments') @section('content')

All Orders ({{ $orders->total() }})

View orders, dispatch couriers, and update shipment tracking numbers.

@if($status) @endif @if($search || $status) Reset @endif
@php($currentStatus = $status ?? '') All ({{ $statusCounts['all'] }}) Processing ({{ $statusCounts['processing'] }}) Shipped ({{ $statusCounts['shipped'] }}) Delivered ({{ $statusCounts['delivered'] }}) Pending ({{ $statusCounts['pending'] }})
@forelse($orders as $order) @empty @endforelse
Order # & Date Recipient Customer Items Count Total Amount Payment Shipment Status Action
{{ $order->order_number }} {{ $order->created_at->format('d M Y, h:i A') }} {{ $order->shipping_name }} {{ $order->shipping_phone }} · {{ $order->shipping_city }} {{ $order->items->sum('quantity') }} Pair(s) ₹{{ number_format($order->grand_total, 2) }} {{ $order->payment_status }} ({{ $order->payment_method }}) {{ $order->status_label }} @if($order->tracking_number) {{ $order->tracking_number }} @endif Manage & Update →
No orders matching the current filter.
{{ $orders->links() }}
@endsection