@extends('layouts.customer') @section('title', 'My Vehicle Orders & Tracking – Customer Portal') @section('page_title', 'My Orders & Import Tracking') @section('content')

Vehicle Import & Delivery Orders

Track the end-to-end 12-step importation process from Japan to Dhaka.

@if($orders->count() > 0)
@foreach($orders as $order) @php $stepIndex = $order->current_step_index; $percent = min(100, round((($stepIndex + 1) / 12) * 100)); $steps = \App\Models\Order::trackingSteps(); $stepInfo = $steps[$order->status] ?? ['title' => ucwords(str_replace('_', ' ', $order->status)), 'desc' => '']; @endphp
Car
Order #{{ $order->order_number }} {{ $order->order_type }}

{{ $order->car_title }}

Chassis: {{ $order->chassis_number ?? 'In Allocation' }}

Track Details
Current Milestone: {{ $stepInfo['title'] }} (Step {{ $stepIndex + 1 }} of 12) {{ $percent }}% Completed

{{ $stepInfo['desc'] }}

Vessel Name {{ $order->vessel_name ?? 'Pending Allocation' }}
B/L Number {{ $order->bl_number ?? 'In Issuance' }}
ETA Chittagong {{ $order->eta_chittagong ? $order->eta_chittagong->format('M d, Y') : 'Estimating' }}
Payment Status Paid: ৳{{ number_format($order->paid_amount_bdt) }}
@endforeach
{{ $orders->links() }}
@else

No active orders found.

When an auction bid is hammered or you purchase from showroom stock, your order pipeline appears here.

Browse Japan Live Auctions
@endif
@endsection