@extends('layouts.admin') @section('title', 'Order #' . $order->order_number . ' Management – Admin CRM') @section('page_title', 'Order #' . $order->order_number . ' Logistics') @section('content')
Back to Orders
Current Milestone: {{ $trackingSteps[$order->status]['title'] ?? $order->status }}
Car

{{ $order->car_title }}

Client: {{ $order->user->name ?? 'Customer' }} ({{ $order->user->phone ?? '' }}) · Chassis: {{ $order->chassis_number ?? 'Awaiting' }}

Total BDT ৳{{ number_format($order->total_amount_bdt) }}
Paid BDT ৳{{ number_format($order->paid_amount_bdt) }}
Balance Due ৳{{ number_format($order->due_amount_bdt) }}

Advance 12-Step Import Milestone

Updates customer portal in real-time and dispatches SMS/in-app alert.

@csrf

Milestone Audit Timeline

@forelse($order->statusHistory as $hist)
{{ $hist->title ?? ucwords(str_replace('_', ' ', $hist->status)) }} {{ $hist->created_at->format('M d, h:i A') }}

{{ $hist->description }}

@if($hist->location) {{ $hist->location }} @endif
@empty

No status updates logged yet.

@endforelse

Marine Shipping & Vessel Manifest

@csrf

Milestone Invoices & Payments

Reconcile →
@forelse($order->invoices as $inv)
#{{ $inv->invoice_number }} {{ $inv->title }}
৳{{ number_format($inv->amount_bdt) }} {{ $inv->status }}
@empty

No invoices on file.

@endforelse
@endsection