@extends('layouts.ecommerce_admin') @section('title', 'Delivery Dispatch') @section('page_heading', 'Delivery Dispatch') @section('content')
Assign drivers, monitor active trips, and capture delivery proof from each order.
| Order | Customer and destination | Source branch | Driver | Status | Tracking |
|---|---|---|---|---|---|
| {{ $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. | |||||