@extends('layouts.admin') @section('content')
| name | Country | Destination | registration | vehicle_type | capacity | driver | next_maintenance | Status | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $item->name }} | {{ $item->country?->name ?? '-' }} | {{ $item->destinationRef?->name ?? '-' }} | {{ $item->registration_no }} | {{ ucfirst($item->vehicle_type) }} | {{ $item->capacity }} | {{ $item->driver?->name }} | {{ optional($item->next_maintenance_date)->format('d M Y') ?: '-' }} | {{ $item->is_active ? 'Active' : 'Inactive' }} | View Edit |