{{ Form::open(["route"=>["admin.vehicles.update", 'vehicle'=>$vehicle->id], "method"=>"put"]) }}
@php
$count = 0;
@endphp
@foreach(config('const.vehicle_register_files') as $key => $title)
@php
$files = $vehicle->getFiles($key);
@endphp
@if($key == 'inspection' || $key == 'accident' || $key == 'etc' || $key == 'estimate' || $files->count() == 0)
@continue
@endif
@php
$count++;
@endphp
@endforeach
@if(!empty($vehicle->accident_history) && $vehicle->public_driving != config('const.estimate_other_company_status_code.nothing'))
@endif
@if($vehicle->estimate_other_company == config('const.estimate_other_company_status_code.exists'))
@endif
{{ Form::close() }}