@extends('backend.layouts.app') @section('content') @if(isset($is_confirm) && $is_confirm) @if(isset($params->id) && $params->id)

事故・修理情報【確認】

@else

事故・修理情報【確認】

@endif {{ Form::open(["route"=>"backend.{$department}.orders.store_reception", "method"=>"post"]) }} @else

事故・修理情報【閲覧】

@include('backend.layouts.flash-message') @endif
@foreach (range(0, 9) as $item) @endforeach
登録者 {{ \App\Service\UserService::getUserName($params->register_id) }}
車両ID {{ isset($params->vehicle->vehicle_no) ? $params->vehicle->vehicle_no : '' }}
登録番号 {{ isset($params->vehicle->register_no) ? $params->vehicle->register_no: '' }}
車台番号 {{ isset($params->vehicle->vehicle_info_basic->chassis_no) ? $params->vehicle->vehicle_info_basic->chassis_no : '' }}
事故日 {{ !empty($params->accident_date) ? Carbon::parse($params->accident_date)->format('Y.m.d') : '' }}
事故種別 {{ config('const.accident_type.'.$params->accident_type) }}
事故内容 @php echo nl2br($params->accident_content) @endphp
修理箇所画像
@if(isset($images[$item]->file_path) && !empty($images[$item]->file_path) && Storage::disk('temp')->has($images[$item]->file_path)) @elseif(isset($params->id) && isset($images[$item]->file_path) && !empty($images[$item]->file_path) && Storage::disk('vehicle_reception_work_request')->has($params->id.'/'.$images[$item]->file_path)) @endif
免責金額 {{ (!empty($params->deductible_amount) && is_numeric($params->deductible_amount)) ? number_format($params->deductible_amount) : $params->deductible_amount }}
修理見積合計 {{ (!empty($params->repaire_estimate_amount) && is_numeric($params->repaire_estimate_amount)) ? number_format($params->repaire_estimate_amount) : $params->repaire_estimate_amount }}
見積書 @if(!empty($params->estimate_file_path) && Storage::disk('temp')->has($params->estimate_file_path)) {{ $params->estimate_file }} @elseif(!empty($params->estimate_file_path) && isset($params->id) && Storage::disk('vehicle_reception_work_request')->has($params->id.'/'.$params->estimate_file_path)) {{ $params->estimate_file }} @endif
請求書合計 {{ (!empty($params->invoice_doc_amount) && is_numeric($params->invoice_doc_amount)) ? number_format($params->invoice_doc_amount) : $params->invoice_doc_amount }}
請求額合計 {{ (!empty($params->invoice_amount) && is_numeric($params->invoice_amount)) ? number_format($params->invoice_amount) : $params->invoice_amount }}
実際修理費 {{ (!empty($params->real_repaire_amount) && is_numeric($params->real_repaire_amount)) ? number_format($params->real_repaire_amount) : $params->real_repaire_amount }}
コメント @php echo nl2br($params->comment) @endphp
ステータス {{ config('const.vehicle_reception_status.'.$params->reception_status) }}
@if(isset($is_confirm) && $is_confirm) @if(isset($params->id) && $params->id) 1]) }}"'> @else 1]) }}"'> @endif @else @endif
@if(isset($is_confirm) && $is_confirm) {{ Form::close() }} @endif @endsection @section('page_css') @endsection @section('page_js') @endsection