Vehicles Report (CSV Summary)
All vehicles with last PM/inspection date and compliance status.
| Vehicle # | VIN | Type | Last PM/Inspection Date | Next Due Date | Status |
|---|---|---|---|---|---|
| {{ $r['vehicle']->unit_number }} | {{ $r['vehicle']->vin }} | {{ ucfirst($r['vehicle']->type ?? '') }} | {{ $r['last_pm_date'] ? $r['last_pm_date']->format('M d, Y') : '—' }} | {{ $r['next_due'] ? $r['next_due']->format('M d, Y') : '—' }} | @if($r['status'] === 'Compliant')Compliant @elseif($r['status'] === 'Due soon')Due soon @elseif($r['status'] === 'Overdue')Overdue @elseNever inspected@endif |