@extends('layouts.admin') @section('title', 'Orders & Import Tracking – Admin CRM') @section('page_title', 'Import Logistics & Orders') @section('content')
@forelse($orders as $order) @php $stepIndex = $order->current_step_index; $percent = min(100, round((($stepIndex + 1) / 12) * 100)); @endphp @empty @endforelse
Order # & Customer Vehicle Details Chassis & B/L 12-Step Current Stage ETA Chittagong Payments (BDT) Actions
#{{ $order->order_number }} {{ $order->user->name ?? 'Client' }}

{{ $order->car_title }}

{{ $order->order_type }}
{{ $order->chassis_number ?? 'Pending Allocation' }} {{ $order->bl_number ? 'B/L: ' . $order->bl_number : 'B/L: In Process' }}
{{ $trackingSteps[$order->status]['title'] ?? $order->status }} {{ $stepIndex + 1 }}/12
{{ $order->eta_chittagong ? $order->eta_chittagong->format('M d, Y') : 'Estimating' }} {{ $order->vessel_name ?? 'Vessel TBD' }} ৳{{ number_format($order->total_amount_bdt) }} Paid: ৳{{ number_format($order->paid_amount_bdt) }} Manage
No vehicle orders found.
{{ $orders->links() }}
@endsection