@include('backend.layouts.flash-message')
@include('backend.share.vehicle._header_info')
- 仕入・車両情報
- 車両チェックシート
- 写真
- HP掲載
@unless($department == 'parts')
- 問い合わせ履歴
@endunless
{{--
- 販売情報
--}}
@if(isset($vehicle["id"]))
@php
$ob_vehicle = \App\Models\Vehicle\Vehicle::find($vehicle["id"]);
@endphp
@endif
{{ Form::open(['route' => "backend.{$department}.vehicle.create_qr_seed", 'id' => 'qr_seed_form', 'name' => 'qr_seed_form', 'method' => 'get', 'target'=>'_blank']) }}
{{ Form::close() }}
@if (isset($is_confirm))
@if(isset($vehicle['info']['id']))
{{ Form::open(['route' => "backend.{$department}.vehicle.update_info", 'id' => 'vehicle_info_form', 'name' => 'vehicle_info_form', 'method' => 'PUT', 'files'=>true]) }}
@else
{{ Form::open(['route' => "backend.{$department}.vehicle.create_info", 'id' => 'vehicle_info_form', 'name' => 'vehicle_info_form', 'method' => 'POST', 'files'=>true]) }}
@endif
@else
{{ Form::open(['route' => "backend.{$department}.vehicle.confirm", 'id' => 'vehicle_info_form', 'name' => 'vehicle_info_form', 'method' => 'POST', 'files'=>true]) }}
@endif
@if (isset($vehicle['id']))
@endif
@if(isset($is_parts))
@endif
@include('backend.share.vehicle.form._t_info', ['vehicle_info' => isset($vehicle['info']) ? $vehicle['info'] : null])
@include('backend.share.vehicle.form._t_check', ['vehicle_check' => isset($vehicle['check']) ? \App\Helper\SystemHelper::explodeCheckParametersForView($vehicle['check']) : null])
@include('backend.share.vehicle.form._t_image', ['vehicle_image' => isset($vehicle['image']) ? $vehicle['image'] : null])
@include('backend.share.vehicle.form._t_hp_publish', ['vehicle_hp_publish' => isset($vehicle['hp_publish']) ? $vehicle['hp_publish'] : null] )
@if($department == 'parts')
@else
@include('backend.share.vehicle.form._t_enquiry', ['vehicle_enquiry_history'=>isset($vehicle['enquiry_history']) ? $vehicle['enquiry_history'] : null])
@endif
{{--
@include('backend.share.vehicle.form._t_sale', ['vehicle_sale_info' => isset($vehicle['sale_info']) ? $vehicle['sale_info'] : null])
--}}
{{ Form::close() }}
{{ Form::open(["route"=>"backend.{$department}.vehicle.send_confirm_mail", "method"=>"get", "id"=>"confirm_mail_submit"]) }}
{{ Form::close() }}
{{ Form::open(["route"=>"backend.{$department}.vehicle.pdf_download", "method"=>"get", "id"=>"download_submit", "target"=>"_blank"]) }}
{{ Form::close() }}
@include("backend.share._parts._collect_name", [
"form_id" => "vehicle_info_form"
])