車両メーカー名 |
@if (isset($contact['vehicle_maker']) && $contact['vehicle_maker'])
@if((isset($contact['vehicle_maker']) ? $contact['vehicle_maker'] : '') == config('const.option_other_value'))
{{ isset($contact['vehicle_maker_etc']) ? $contact['vehicle_maker_etc'] : '' }}
@else
{{ \App\Models\Masters\VehicleMaker::findById((isset($contact['vehicle_maker']) ? $contact['vehicle_maker'] : ''), 'name') }}
@endif
@else
指定なし
@endif
|
初年度登録 |
@if ((isset($contact['purchase_time_year']) && $contact['purchase_time_year']) || (isset($contact['purchase_time_month']) && $contact['purchase_time_month']))
{{ \App\Helper\SystemHelper::convertGtJDate(isset($contact['purchase_time_year']) ? $contact['purchase_time_year'] : '') }}
{{ ((isset($contact['purchase_time_month']) && !empty($contact['purchase_time_month'])) ? $contact['purchase_time_month'].'月' : '') }}
@else
指定なし
@endif
|
型式 |
{{ (isset($contact['model_first']) ? $contact['model_first'] : '') }}-{{ (isset($contact['model_second']) ? $contact['model_second'] : '') }}
|
車台番号 |
{{ (isset($contact['chassis_no']) ? $contact['chassis_no'] : '') }}
|
ボディ形状 |
@if ((isset($contact['body_category']) && $contact['body_category']) ||
(isset($contact['body_mid_category']) && $contact['body_mid_category']) ||
(isset($contact['body_sub_category']) && $contact['body_sub_category']))
{{ \App\Service\Masters\BodyCategoryService::getCategoryName((isset($contact['body_category']) ? $contact['body_category'] : ''), (isset($contact['body_mid_category']) ? $contact['body_mid_category'] : ''), (isset($contact['body_sub_category']) ? $contact['body_sub_category'] : '')) }}
@else
指定なし
@endif
|
走行距離 |
{{ (isset($contact['rough_travel_distance']) ? number_format($contact['rough_travel_distance']) : '') }}
|
積載量 |
約{{ (isset($contact['load_capacity']) ? number_format($contact['load_capacity']) : '') }}kg
|
パワーゲート |
{{ config('const.exist_power_gate.'.((isset($contact['exist_power_gate']) ? $contact['exist_power_gate'] : ''))) }}
{{ (isset($contact['power_gate_kind']) && $contact['power_gate_kind']) ? config('const.power_gate_kind.'.$contact['power_gate_kind']) : '指定なし' }}
|
自走 |
{{ config('const.self_propelled_type.'.(isset($contact['recommended_status']) ? $contact['recommended_status'] : '')) }}
|
車両所在エリア |
@if (isset($contact['delivery']) && $contact['delivery'])
{{ \App\Models\Masters\Prefecture::findById((isset($contact['delivery']) ? $contact['delivery'] : ''), 'prefecture_name') }}
{{ isset($contact['address']) ? $contact['address'] : '' }}
@else
指定なし
@endif
|
その他の情報 |
{!! nl2br((isset($contact['reception_etc']) ? $contact['reception_etc'] : '')) !!}
|
車検証をアップロードする |
@if(!empty(old('file_path1', isset($contact['file_path1']) ? $contact['file_path1'] : '')) && Storage::disk('temp')->has(old('file_path1', isset($contact['file_path1']) ? $contact['file_path1'] : '')))
@php
$file_arr = explode('.', (isset($contact['file_name1']) ? $contact['file_name1'] : ''));
$extension = end($file_arr);
@endphp
@if(in_array($extension, config('const.image_file_extension')))
@else
{{ isset($contact['file_name1']) ? $contact['file_name1'] : '' }}
@endif
@else
@endif
|
車両画像をアップロードする |
@if(isset($contact['question_file']) && is_array($contact['question_file']))
@foreach($contact['question_file'] as $question_file)
@if(isset($question_file['file_path']) && !empty($question_file['file_path']) && Storage::disk('temp')->has($question_file['file_path']))
@endif
@endforeach
@endif
|