@if($vehicle->getFiles('inspection')->count()) @endif
車検証
@php $count = 0; @endphp @foreach(config('const.vehicle_register_files') as $key => $title) @if($loop->index == 5) @break @endif @php $file = $vehicle->getFile($key, 0); @endphp @if($key != 'inspection' && (is_object($file) && !empty($file->file_path) && Storage::disk('vehicles')->has($vehicle->id.'/'.$file->file_path)))
{{ $title }} id }}/{{ $file->file_path }}" data-lity="data-lity">id }}/{{ $file->file_path }}">
@php $count++; @endphp @endif @endforeach
一覧に戻る