@extends('storefront.layout') @section('title', 'Track Parcel - '.config('app.name', 'FreshMart')) @section('body_class', 'sf-no-bottom-nav') @section('content') @include('services.parcel._flow-style') @php $parcel = $order->parcelOrder; $statusMap = [ 'payment_pending' => 'pending', 'pending' => 'pending', 'confirmed' => 'assigned', 'ready_for_pickup' => 'assigned', 'reached_pickup' => 'arriving', 'picked_up' => 'picked_up', 'on_the_way' => 'in_transit', 'in_transit' => 'in_transit', 'delivered' => 'delivered', 'completed' => 'delivered', ]; $timelineStatus = $statusMap[$order->status] ?? 'pending'; @endphp
Booking #{{ $order->order_number ?? $order->id }}
Driver details will appear once a delivery partner accepts the parcel.