@extends('layouts.admin', ['title' => 'Trucks']) @section('content')
Manage token links and fleet records.
| Truck | Tracking link | Last update | Status | |
|---|---|---|---|---|
|
{{ $truck->name }}
{{ $truck->plate_number ?: 'No plate' }}
|
{{ route('track.show', $truck->token) }} | {{ $truck->latestLocation?->tracked_at?->diffForHumans() ?? 'Never' }} | {{ $truck->is_active ? 'Active' : 'Inactive' }} | View |
| No trucks yet. | ||||