← Vehicle inventory

{{ $vehicle->stock_number }} · {{ $vehicle->stock_purpose === 'customer_import' ? 'PRIVATE CUSTOMER IMPORT' : 'DEALER STOCK' }}

{{ $vehicle->vehicle }}

{{ $vehicle->acquisition_type === 'import' ? 'Imported' : 'Acquired locally' }} · {{ $vehicle->branch?->name ?? $vehicle->location ?? 'Location not recorded' }}
@can('update', $vehicle)Edit vehicle details@endcan
@if($linkedOrder)Open sales order {{ $linkedOrder->reference }} →@endif@if(in_array($vehicle->status,['available','in_transit']) && $vehicle->stock_purpose==='dealer_stock')@can('create', \App\Models\SalesOrder::class)Create customer order for this vehicle →@endcan @endif
@foreach(\App\Enums\VehicleStatus::cases() as $status){{ ucwords(str_replace('_', ' ', $status->value)) }}@if(!$loop->last)→@endif @endforeach

Vehicle specification

{{ $vehicle->final_selling_price !== null ? 'Sold · KES '.number_format((float) $vehicle->final_selling_price, 2) : ($vehicle->asking_price !== null ? 'Asking · KES '.number_format((float) $vehicle->asking_price, 2) : 'Asking price not set') }}
@foreach(['Make / model' => trim($vehicle->make.' '.$vehicle->model), 'Variant' => $vehicle->variant, 'Year' => $vehicle->year, 'Chassis / VIN' => $vehicle->vin, 'Registration' => $vehicle->registration, 'Mileage' => $vehicle->mileage !== null ? number_format($vehicle->mileage).' km' : null, 'Category' => \App\Enums\VehicleCategory::tryFrom($vehicle->category ?? '')?->label(), 'Body type' => $vehicle->body_type, 'Colour' => $vehicle->colour, 'Fuel' => $vehicle->fuel, 'Transmission' => $vehicle->transmission, 'Engine capacity' => $vehicle->engine_capacity_cc !== null ? $vehicle->engine_capacity_cc.' cc' : null, 'Engine number' => $vehicle->engine_number, 'Location' => $vehicle->location, 'Supplier' => $vehicle->supplier_name, 'Supplier contact' => $vehicle->supplier_contact, 'Import reference' => $vehicle->shipment?->reference, 'Allocated customer' => $vehicle->customer?->display_name] as $label => $value)
{{ $label }}
{{ $value ?: 'Not recorded' }}
@endforeach
@if($vehicle->condition_notes)

Private condition notes

{{ $vehicle->condition_notes }}

@endif

Features & options

@forelse($vehicle->features->sortBy('sort_order')->groupBy('group') as $group => $features)

{{ $group }}

@foreach($features as $feature){{ $feature->name }}@endforeach
@empty

No features recorded yet. Confirm fitted options when editing the vehicle.

@endforelse

Inventory history

Retained audit trail
@forelse($events as $event)
{{ $event->actor?->name ?? 'System' }} · {{ ucwords(str_replace('_', ' ', $event->kind)) }}

{{ $event->body }}

@empty

No inventory events recorded.

@endforelse
{{ $events->links() }}

Public marketplace listing

{{ $vehicle->listing_title ?: 'No listing title yet' }}

{{ $vehicle->listing_description ?: 'Add customer-facing copy from Edit vehicle details.' }}

Visibility: {{ $vehicle->visibility === 'marketplace' ? 'Marketplace ready' : 'Private' }}

Availability: {{ $vehicle->status === 'in_transit' ? 'In transit' : (in_array($vehicle->status, ['sold', 'delivered']) ? 'Sold' : 'Available locally when activated') }}

@if($publicationReasons && !in_array($vehicle->status, ['sold', 'delivered']))
    @foreach($publicationReasons as $reason)
  • {{ $reason }}
  • @endforeach
@endif @can('publish', $vehicle)
@csrf@if($vehicle->publication_state === 'published')@elseif(!$publicationReasons)@endif
@endcan

Only approved dealer stock is shown publicly. Use Listing performance & availability to reconfirm stock or review a paused listing.

@if($vehicle->sale)

Recorded sale

{{ $vehicle->sale->customer->display_name }}

Final selling price: KES {{ number_format((float) $vehicle->sale->selling_price, 2) }}
Sold {{ $vehicle->sale->sold_at->format('d M Y H:i') }} EAT

View customer transaction ↗
@endif