@if(is_object($contract))
{{ Form::open(["route"=>["admin.contract.update", "contract"=>$contract->id], "method"=>"put"]) }}
@endif
書類タイプ |
{{ config('const.contract_document_type.'.(isset($contract->vehicle->document_type) ? $contract->vehicle->document_type : '')) }}
|
@php
$count = 0;
@endphp
@foreach(config('const.vehicle_register_files') as $key => $title)
@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)))
@php
$count++;
@endphp
@endif
@endforeach
@if(is_object($contract))
@endif
@if(is_object($contract))
@endif
@if(is_object($contract))
{{ Form::close() }}
@endif
@if(is_object($contract))