{{-- @foreach(config('const.vehicle_register_files') as $type => $title) @foreach($contract->vehicle->getFiles($type) as $file) @if(!empty($file->file_path) && Storage::disk('vehicles')->has($contract->vehicle->id.'/'.$file->file_path))

[{{ $title }}]

image @endif @endforeach @endforeach --}} @foreach(config('const.contract_admin_file_type') as $type => $title) @php $file = isset($contract->id) ? $contract->getFile($type) : null; @endphp @if(is_object($file) && !empty($file->file_path) && Storage::disk('contract')->has($contract->id.'/'.$file->file_path))

[{{ $title }}]

@if(\App\Helper\SystemHelper::checkImageFileExtension($file->file_path)) @else
{{ $file->file_name }}
書類をダウンロード
@endif @endif @endforeach

戻る