@extends('backend.layouts.app') @section('content')

書類管理(仕入)【編集】

@include('backend.share.document._vehicle_info') @include('backend.layouts.flash-message') {{ Form::open(['route'=>"backend.{$department}.document.confirm_for_purchase", 'method'=>"post", "id"=>"submit_form"]) }} @if (isset($params)) @endif

仕入書類

状態
@error('doc_purchase_status_id') {{ $message }} @enderror @error('doc_purchase_sub_status_id') {{ $message }} @enderror
@php $additions = old('additions', (isset($params->additions) && $params->additions->count() > 0) ? $params->additions->toArray() : null); @endphp @if (is_array($additions) && count($additions) > 0 ) @foreach($additions as $i => $addition) @include('backend.share.document._addition_purchase_part', ['type'=>'purchase']) @endforeach @endif
抹消証
erasure_cert) ? $params->erasure_cert : "") == 1 ? "checked" : "" }}>
受取日:
@if(!empty(old('erasure_file_path', isset($params->erasure_file_path) ? $params->erasure_file_path : '')) && Storage::disk('temp')->has(old('erasure_file_path', isset($params->erasure_file_path) ? $params->erasure_file_path : ''))) {{ old('erasure_file_name', isset($params->erasure_file_name) ? $params->erasure_file_name : '') }} @elseif(!empty(old('erasure_file_path', isset($params->erasure_file_path) ? $params->erasure_file_path : '')) && Storage::disk('vehicle_document')->has($params->vehicle_id.'/'.old('erasure_file_path', isset($params->erasure_file_path) ? $params->erasure_file_path : ''))) {{ old('erasure_file_name', isset($params->erasure_file_name) ? $params->erasure_file_name : '') }} @else @endif
車検証
inspection_cert) ? $params->inspection_cert : "") == 1 ? "checked" : "" }}>
受取日:
@if(!empty(old('pdf_file_path', isset($params->pdf_file_path) ? $params->pdf_file_path : '')) && Storage::disk('temp')->has(old('pdf_file_path', isset($params->pdf_file_path) ? $params->pdf_file_path : ''))) {{ old('pdf_file_name', isset($params->pdf_file_name) ? $params->pdf_file_name : '') }} @elseif(!empty(old('pdf_file_path', isset($params->pdf_file_path) ? $params->pdf_file_path : '')) && Storage::disk('vehicle_document')->has($params->vehicle_id.'/'.old('pdf_file_path', isset($params->pdf_file_path) ? $params->pdf_file_path : ''))) {{ old('pdf_file_name', isset($params->pdf_file_name) ? $params->pdf_file_name : '') }} @else @endif
譲渡証
transfer_cert) ? $params->transfer_cert : "") == 1 ? "checked" : "" }}>
受取日:
委任状
delegate_doc) ? $params->delegate_doc : "") == 1 ? "checked" : "" }}>
受取日:
印鑑証明書
seal_cert) ? $params->seal_cert : "") == 1 ? "checked" : "" }}>
受取日:
発行日:
事業用自動車連絡表
contact_book) ? $params->contact_book : "") == 1 ? "checked" : "" }}>
受取日:
発行日:
謄本or住民票
personal_cert) ? $params->personal_cert : "") == 1 ? "checked" : "" }}>
受取日:
リサイクル券
recycle_doc) ? $params->recycle_doc : "") == 1 ? "checked" : "" }}>
受取日:
自賠責
insurance_doc) ? $params->insurance_doc : "") == 1 ? "checked" : "" }}>
受取日:
承認請求書
approval_doc) ? $params->approval_doc : "") == 1 ? "checked" : "" }}>
受取日:
記録簿
record_book) ? $params->record_book : "") == 1 ? "checked" : "" }}>
受取日:
ナンバープレート
number_plate) ? $params->number_plate : "") == 1 ? "checked" : "" }}>
受取日:

書類追加



備考

@php $addition_status = old('addition_status', (isset($addition_status) && is_object($addition_status)) ? $addition_status->toArray() : null); $count = is_array($addition_status) ? count($addition_status) : 0; @endphp @if(is_array($addition_status) && count($addition_status) > 0) @while($count) @include('backend.share.document._purchase_addition_status', ['status'=>$addition_status[--$count], 'key'=>$count]) @endwhile @else @include('backend.share.document._purchase_addition_status', ['status'=>null, 'key'=>0]) @endif

状態更新追加

{{ Form::close() }} @endsection @section('page_css') @endsection @section('page_js') @endsection