Order needs attention
Order {{ $order->order_id }} ({{ $order->from_address }} → {{ $order->to_address }}) is due soon but is still missing a dispatch plan or a driver/vehicle assignment.
- Collection date: {{ $order->collection_date?->format('d/m/Y') ?? ($order->collection_from ? $order->collection_from->format('d/m/Y') . ' – ' . $order->collection_to->format('d/m/Y') : '—') }}
- Logistics date: {{ $order->schedule?->logistics_date?->format('d/m/Y') ?? 'Not set' }}
- Drivers assigned: {{ $order->drivers->filter(fn ($d) => filled($d->driver_name))->count() }} / {{ $order->drivers->count() }}
This is an internal operations alert (one per schedule state, resets on reschedule).