• {{ $fleet['name'] }}
    @if(auth()->user()->hasPermissionTo('remove', "inspections.templates")) @if($fleet->vehiclesInspectionsPivot->isNotEmpty())
    @endif @endif
    @if($fleet->vehiclesLog->isNotEmpty()) @foreach($fleet->vehiclesLog as $log)
    @php $image_url = $log->vehicle->version->image_url; $image = strpos($image_url, 'uploads/vehicle/models') !== false ? $baseUrl."/storage/".$image_url : $image_url ?? 'N/A'; @endphp
    {{ Str::limit($log->vehicle->name ?: 'N/A', 100, '..') }}
    @endforeach @endif @if (count($fleet['children']) > 0) @endif