対応ステータス |
{{ \App\Models\Masters\VehicleInquiryStatus::findById(isset($vehicle['support_status']) ? $vehicle['support_status'] : "", 'name') }}
|
商談期間 |
{{ isset($vehicle['discussion_period']) ? Carbon::parse($vehicle['discussion_period'])->format('Y-m-d') : "" }}{{ isset($vehicle['discussion_period_to']) ? '~'.(Carbon::parse($vehicle['discussion_period_to'])->format('Y-m-d')) : "" }}
|
ユーザー名 |
{{ isset($vehicle['question_user_name']) ? $vehicle['question_user_name'] : '' }} |
交渉金額 |
{{ ((isset($vehicle['question_vehicle_price']) ? $vehicle['question_vehicle_price'] : '') != '') ? number_format((isset($vehicle['question_vehicle_price']) ? $vehicle['question_vehicle_price'] : '')).'円' : '' }} |
担当 |
{{ \App\Service\UserService::getUserName((isset($vehicle['question_charger']) ? $vehicle['question_charger'] : null)) }} |
@if(isset($vehicle['id']) && isset($vehicle['sprice']['outlet']) && $vehicle['sprice']['outlet'] == config('const.outlet_status_code.publish'))
アウトレットお問い合わせ
@php
$show_btn = true;
$count = 0;
@endphp
@if (!isset($vehicle['id']))
@php
$show_btn = false;
@endphp
アウトレット問い合わせがありません。 |
@else
@if (isset($vehicle['enquiry_history']))
@foreach ($vehicle['enquiry_history'] as $key1=>$vehicle_enquiry_history)
@if(isset($vehicle_enquiry_history['outlet_status']) && $vehicle_enquiry_history['outlet_status'] == config('const.enquiry_outlet_status.outlet'))
@php
$count++;
@endphp
@include('backend.share.vehicle.confirm._p_enquiry_part', ['index'=>$key1])
@endif
@endforeach
@elseif(isset($vehicle_question) && $vehicle_question->count() > 0)
@foreach ($vehicle_question as $key2=>$question)
@if($question->outlet_status == config('const.enquiry_outlet_status.outlet'))
@php
$count++;
@endphp
@include('backend.share.vehicle.confirm._p_enquiry_part', ['vehicle_enquiry_history'=>$question->toArray(), 'index'=>$key2])
@endif
@endforeach
@endif
@if($count == 0)
アウトレット問い合わせがありません。 |
@php
$show_btn = false;
@endphp
@endif
@endif
@endif
お問い合わせ@if((isset($vehicle['hp_publish']['rental_publish']) && $vehicle['hp_publish']['rental_publish'] == config('const.hp_publish_code.publish')) || (isset($vehicle['basic']['h_is_limit_car']) && $vehicle['basic']['h_is_limit_car'] == config('const.h_limit_car_type.is_limited')) )レンタルHP掲載中@endif
@php
$show_btn = true;
$count = 0;
@endphp
@if (!isset($vehicle['id']))
@php
$show_btn = false;
@endphp
問い合わせがありません。 |
@else
@if (isset($vehicle['enquiry_history']))
@foreach ($vehicle['enquiry_history'] as $key1=>$vehicle_enquiry_history)
@if(isset($vehicle_enquiry_history['outlet_status']) && $vehicle_enquiry_history['outlet_status'] == config('const.enquiry_outlet_status.normal'))
@php
$count++;
@endphp
@include('backend.share.vehicle.confirm._p_enquiry_part', ['index'=>$key1])
@endif
@endforeach
@elseif(isset($vehicle_question) && $vehicle_question->count() > 0)
@foreach ($vehicle_question as $key2=>$question)
@if($question->outlet_status == config('const.enquiry_outlet_status.normal'))
@php
$count++;
@endphp
@include('backend.share.vehicle.confirm._p_enquiry_part', ['vehicle_enquiry_history'=>$question->toArray(), 'index'=>$key2])
@endif
@endforeach
@endif
@if($count == 0)
問い合わせがありません。 |
@php
$show_btn = false;
@endphp
@endif
@endif
@if (isset($is_confirm))
@if(isset($vehicle['id']))
$vehicle["id"], "sale_status"=>$sale_status, "is_confirm"=>1, "suffix" => (isset($vehicle['suffix']) ? $vehicle['suffix'] : '')]) }}" value="戻る">
@else
1, "suffix" => (isset($vehicle['suffix']) ? $vehicle['suffix'] : '')]) }}" class="back_dir_btn" value="戻る">
@endif
@else
@if($home_page =='list_ushiparts')
@else
@endif
@if(Auth::guard('admin')->user()->canEditVehicle($vehicle["id"]) && $department != 'moritis')
@endif
@endif