@extends('layouts.ecommerce_admin') @section('title', 'Delivery Dispatch') @section('page_heading', 'Delivery Dispatch') @section('content')

Delivery dispatch

Assign drivers, monitor active trips, and capture delivery proof from each order.

@forelse($orders as $order) @empty@endforelse
OrderCustomer and destinationSource branchDriverStatusTracking
{{ $order->order_number }}
{{ $order->created_at->format('M d, h:i A') }}
{{ $order->customer_name }}
{{ data_get($order->delivery_address,'address_line_1') }}, {{ data_get($order->delivery_address,'city') }}
@foreach($order->lines->pluck('sourceLocation')->filter()->unique('id') as $location)
{{ $location->name }}
@endforeach
{{ optional($order->driver)->user_full_name ?: 'Unassigned' }} {{ \App\Utils\EcommerceService::STATUS_LABELS[$order->status] ?? $order->status }} {{ $order->delivery_tracking_code ?: '—' }}
There are no delivery orders in the dispatch queue.
{{ $orders->links() }}
@endsection