@extends('backend.layouts.app') @section('content') @if (isset($params['id']) && $params['id']) @if(isset($is_detail) && $is_detail)
受付番号 | {{ $params['request_no'] }} | ||||||
---|---|---|---|---|---|---|---|
受付日 | {{ old('reception_date', isset($params['reception_date']) ? $params['reception_date'] : Carbon::now()->format('Y-m-d')) }} | 受付時刻 | {{ old('reception_time', isset($params['reception_time']) ? Carbon::parse($params['reception_time'])->format('H:i') : Carbon::now()->format('H:i')) }} | 受付担当 | {{ \App\Service\UserService::getUserName(old('reception_charge_user', isset($params['reception_charge_user']) ? $params['reception_charge_user'] : Auth::guard('admin')->user()->id )) }} | レッカー担当 | {{ \App\Service\UserService::getUserName(old('wrecker_charge_user', isset($params['wrecker_charge_user']) ? $params['wrecker_charge_user'] : "" )) }} |
依頼者※ | {{ old('requester', isset($params['requester']) ? $params['requester'] : "") }} | 依頼者連絡先※ | @php /*$params['requested_address'] = ''; if(isset($params['requested_address1']) && isset($params['requested_address2']) && isset($params['requested_address3'])){ $params['requested_address'] = $params['requested_address1'].'-'.$params['requested_address2'].'-'.$params['requested_address3']; } $params['client_address'] = ''; foreach (range(1, 3) as $index) { if(isset($params['client_address'.$index]) && !empty($params['client_address'.$index])){ if(!empty($params['client_address'])){ $params['client_address'] .= '-'; } $params['client_address'] .= $params['client_address'.$index]; } }*/ @endphp {{ $params['requested_address'] }} | ユーザー名 | {{ old('client_name', isset($params['client_name']) ? $params['client_name'] : "") }} | ユーザー連絡先 | {{ $params['client_address'] }} |
---|
サイズ | {{ config('const.vehicle_size.'.(isset($params['target_vehicle'][$index]['size']) ? $params['target_vehicle'][$index]['size'] : "")) }} | ボディ形状 | @if(isset($params['target_vehicle'][$index]['body_sub_category']) && $params['target_vehicle'][$index]['body_sub_category']) {{ \App\Models\Masters\BodySubCategory::findById($params['target_vehicle'][$index]['body_sub_category'], 'name') }} @elseif(isset($params['target_vehicle'][$index]['body_mid_category']) && $params['target_vehicle'][$index]['body_mid_category']) {{ \App\Models\Masters\BodySubCategory::findById($params['target_vehicle'][$index]['body_mid_category'], 'name') }} @elseif(isset($params['target_vehicle'][$index]['body_category']) && $params['target_vehicle'][$index]['body_category']) {{ \App\Models\Masters\BodySubCategory::findById($params['target_vehicle'][$index]['body_category'], 'name') }} @endif | 積荷 |
{{ config('const.exist_freight.'.old('target_vehicle.'.$index.'.exist_freight', isset($params['target_vehicle'][$index]['exist_freight']) ? $params['target_vehicle'][$index]['exist_freight'] : "")) }} {{ (isset($params['target_vehicle'][$index]['comment']) ? $params['target_vehicle'][$index]['comment'] : "") }} |
登録番号 | {{ old('target_vehicle.'.$index.'.register_no', isset($params['target_vehicle'][$index]['register_no']) ? $params['target_vehicle'][$index]['register_no'] : "") }} | メーカー | @if(isset($params['target_vehicle'][$index]['vehicle_maker_etc']) && !empty($params['target_vehicle'][$index]['vehicle_maker_etc'])) {{ $params['target_vehicle'][$index]['vehicle_maker_etc'] }} @else {{ \App\Models\Masters\VehicleMaker::findById((isset($params['target_vehicle'][$index]['vehicle_maker_id']) ? $params['target_vehicle'][$index]['vehicle_maker_id'] : ""), 'name') }} @endif | トラブル内容 | @php echo nl2br(old('target_vehicle.'.$index.'.trouble_content', isset($params['target_vehicle'][$index]['trouble_content']) ? $params['target_vehicle'][$index]['trouble_content'] : "")); @endphp |
---|
停車場所 | {{ old('stop_location_etc', isset($params['stop_location_etc']) ? $params['stop_location_etc'] : "" ) }} |
---|---|
地図 |
{{ old('stop_location', isset($params['stop_location']) ? $params['stop_location'] : "" ) }}
{{----}}
|
搬入先 | {{ old('back_dest', isset($params['back_dest']) ? $params['back_dest'] : "") }} |