@if(file_exists(public_path('icons-images/logo (1).png'))) @endif

{{ config('app.name', 'MoonTrader') }}

Vehicles List

Generated: {{ $generatedAt->format('d M Y, h:i A') }}
By: {{ $generatedBy }}
Total Vehicles: {{ $vehicles->count() }}
@if(!empty($filters))
Applied Filters:
@foreach($filters as $key => $value) @if($value) {{ ucwords(str_replace('_', ' ', $key)) }}: {{ $value }} @endif @endforeach
@endif @if($vehicles->count() > 0) @foreach($vehicles as $index => $vehicle) @endforeach
# Vehicle Number Registration Type Company Supplier Driver Status
{{ $index + 1 }} {{ $vehicle->vehicle_number }} {{ $vehicle->registration_number }} {{ $vehicle->vehicle_type ?? '—' }} {{ $vehicle->company?->company_name ?? '—' }} {{ $vehicle->supplier?->supplier_name ?? '—' }} @if($vehicle->employee) {{ $vehicle->employee->name }} @if($vehicle->employee->phone)
{{ $vehicle->employee->phone }} @endif @elseif($vehicle->driver_name) {{ $vehicle->driver_name }} @if($vehicle->driver_phone)
{{ $vehicle->driver_phone }} @endif @else Unassigned @endif
{{ $vehicle->is_active ? 'ACTIVE' : 'INACTIVE' }}
@else
No vehicles found matching the selected criteria.
@endif