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

@if(isset($params['id'])) 注文書編集 - 確認 @else 注文書登録 - 確認 @endif

日付 {{ isset($params['register_date']) ? $params['register_date'] : '' }} 販売区分 {{ config('const.order_sale_class.'.(isset($params['sale_class']) ? $params['sale_class'] : '')) }} 担当者 {{ is_object(App\Models\User::find(isset($params['charge_user']) ? $params['charge_user'] : '')) ? \App\Models\User::find(isset($params['charge_user']) ? $params['charge_user'] : '')->name_kanji : '' }} 販売仕様 {{ config('const.sale_specification.'.(isset($params['sale_specification']) ? $params['sale_specification'] : '')) }}

買主情報

顧客名 {{ isset($params['partner_name']) ? $params['partner_name'] : '' }} 郵便番号 {{ isset($params['post_first']) ? $params['post_first'] : '' }}-{{ isset($params['post_second']) ? $params['post_second'] : '' }} 住所 {{ isset($params['address']) ? $params['address'] : '' }} 電話番号 {{ isset($params['tel']) ? $params['tel'] : '' }}

販売車両情報

形状 {{ isset($params['vehicle_shape']) ? $params['vehicle_shape'] : '' }} 車名 {{ isset($params['vehicle_name']) ? $params['vehicle_name'] : '' }} 車台番号 {{ isset($params['chassis_no']) ? $params['chassis_no'] : '' }} 年式 {{ isset($params['year_type']) ? $params['year_type'] : '' }} 型式 {{ isset($params['model_first']) ? $params['model_first'] : '' }}-{{ isset($params['model_second']) ? $params['model_second'] : '' }} 走行距離 {{ isset($params['travel_distance']) ? $params['travel_distance'].'km' : '' }} 車検日 {{ isset($params['inspection_date']) ? $params['inspection_date'] : '' }} 登録番号 {{ isset($params['register_no']) ? $params['register_no'] : '' }} ミッション {{ isset($params['mission']) ? $params['mission'] : '' }} 排気量 {{ isset($params['displacement']) ? $params['displacement'].'cc' : '' }}

下取り情報

下取車名 {{ isset($params['trade_vehicle_name']) ? $params['trade_vehicle_name'] : '' }} 型式 {{ isset($params['trade_model_first']) ? $params['trade_model_first'] : '' }}-{{ isset($params['trade_model_second']) ? $params['trade_model_second'] : '' }} 年式 {{ \App\Helper\SystemHelper::convertSymbolGtJYeaMonth(isset($params['trade_year_type_y']) ? $params['trade_year_type_y'] : '', isset($params['trade_year_type_m']) ? $params['trade_year_type_m'] : '') }} 車検日 {{ isset($params['trade_inspection_date']) ? $params['trade_inspection_date'] : '' }} 走行距離 {{ isset($params['trade_travel_distance']) ? $params['trade_travel_distance'].'km' : '' }}



車両価格明細情報

車両販売価格

車両本体価格 {{ (isset($params['vehicle_body_price']) && is_numeric($params['vehicle_body_price'])) ? number_format($params['vehicle_body_price']).'円' : '' }} 値引き {{ (isset($params['discount']) && is_numeric($params['discount'])) ? number_format($params['discount']).'円' : '' }}
消費税 {{ (isset($params['consumption_tax']) && is_numeric($params['consumption_tax'])) ? number_format($params['consumption_tax']).'円' : '' }}



諸費用

税金等(非課税)

@php $taxes = old('taxes', isset($params['taxes']) ? $params['taxes'] : null); @endphp @if(!is_null($taxes) && is_array($taxes)) @foreach($taxes as $key=>$tax) @endforeach @endif
自動車税 {{ (isset($tax['vehicle_price']) && is_numeric($taxes[$key]['vehicle_price'])) ? number_format($tax['vehicle_price']).'円' : '' }} 月~ {{ (isset($tax['start_month'])) ? $taxes[$key]['start_month'].'月' : '' }} 自動車重量税 {{ (isset($tax['weight_tax']) && is_numeric($taxes[$key]['weight_tax'])) ? number_format($tax['weight_tax']).'円' : '' }} 環境性能割 {{ (isset($tax['performance_rate']) && is_numeric($taxes[$key]['performance_rate'])) ? number_format($tax['performance_rate']).'円' : '' }} 自賠責保険料 {{ (isset($tax['insurance_price']) && is_numeric($taxes[$key]['insurance_price'])) ? number_format($tax['insurance_price']).'円' : '' }} 月~ {{ (isset($tax['end_month'])) ? $tax['end_month'].'月' : '' }}

追加

小計(非課税) {{ (isset($params['sub_total_tax']) && is_numeric($params['sub_total_tax'])) ? number_format($params['sub_total_tax']).'円' : '' }}

販売諸費用(課税)

手続代行費用

検査・登録手続 {{ (isset($params['register_price']) && is_numeric($params['register_price'])) ? number_format($params['register_price']).'円' : '' }} 車庫証明手続 {{ (isset($params['vehicle_prove_price']) && is_numeric($params['vehicle_prove_price'])) ? number_format($params['vehicle_prove_price']).'円' : '' }} 下取車諸手続 {{ (isset($params['trade_in_price']) && is_numeric($params['trade_in_price'])) ? number_format($params['trade_in_price']).'円' : '' }}

名義変更時

@php $changers = old('changers', isset($params['changers']) ? $params['changers'] : null); @endphp @if(is_array($changers)) @foreach($changers as $key=>$changer) @endforeach @endif
自動車税 {{ (isset($changer['vehicle_price']) && is_numeric($changer['vehicle_price'])) ? number_format($changer['vehicle_price']).'円' : '' }} 自賠責保険料 {{ (isset($changer['insurance_price']) && is_numeric($changer['insurance_price'])) ? number_format($changer['insurance_price']).'円' : '' }} 納車費用 {{ (isset($changer['delivery_price']) && is_numeric($changer['delivery_price'])) ? number_format($changer['delivery_price']).'円' : '' }} 下取車査定料 {{ (isset($changer['trade_vehicle_price']) && is_numeric($changer['trade_vehicle_price'])) ? number_format($changer['trade_vehicle_price']).'円' : '' }}
小計 {{ (isset($params['sub_total_sale_expense']) && is_numeric($params['sub_total_sale_expense'])) ? number_format($params['sub_total_sale_expense']).'円' : '' }}
消費税 {{ (isset($params['consumption_tax_sale_expense']) && is_numeric($params['consumption_tax_sale_expense'])) ? number_format($params['consumption_tax_sale_expense']).'円' : '' }}

販売諸費用 その他(非課税)

@php $others = old('others', isset($params['others']) ? $params['others'] : null); @endphp @if(is_array($others)) @foreach($others as $key => $other) @endforeach @endif
{{ (isset($other['field_name1'])) ? $other['field_name1'] : '' }} {{ (isset($other['price1']) && is_numeric(($other['price1']))) ? number_format($other['price1']).'円' : '' }} {{ (isset($other['field_name2'])) ? $other['field_name2'] : '' }} {{ (isset($other['price2']) && is_numeric(($other['price2']))) ? number_format($other['price2']).'円' : '' }}

追加

小計(非課税) {{ (isset($params['sub_total_other']) && is_numeric(($params['sub_total_other']))) ? number_format($params['sub_total_other']).'円' : '' }}
諸費用計 {{ (isset($params['expense_total']) && is_numeric(($params['expense_total']))) ? number_format($params['expense_total']).'円' : '' }}

付属品・特別仕様明細

@php $specials = old('specials', isset($params['specials']) ? $params['specials'] : ''); @endphp @if(is_array($specials)) @foreach($specials as $key => $special) @endforeach @endif
品名 {{ (isset($special['product_name'])) ? $special['product_name'] : '' }} 金額 {{ (isset($special['price']) && is_numeric(($special['price']))) ? number_format($special['price']).'円' : '' }}
小計 {{ (isset($params['special_sub_total']) && is_numeric(($params['special_sub_total']))) ? number_format($params['special_sub_total']).'円' : '' }}
消費税 {{ (isset($params['special_consumption_tax']) && is_numeric(($params['special_consumption_tax']))) ? number_format($params['special_consumption_tax']).'円' : '' }}

支払条件

下取車価格 {{ (isset($params['trade_vehicle_price']) && is_numeric(($params['trade_vehicle_price']))) ? number_format($params['trade_vehicle_price']).'円' : '' }} 現金(申込金を含む) {{ (isset($params['application_price']) && is_numeric(($params['application_price']))) ? number_format($params['application_price']).'円' : '' }}
小計 {{ (isset($params['term_price']) && is_numeric(($params['term_price']))) ? number_format($params['term_price']).'円' : '' }}
支払総額 {{ (isset($params['total_price']) && is_numeric(($params['total_price']))) ? number_format($params['total_price']).'円' : '' }}

備考

@php if (isset($params['id'])) { $url = route("backend.{$department}.purchase_order.edit", ["order"=>$params['id'], "is_confirm"=>1]); $btn_str = '更新'; } else { $url = route("backend.{$department}.purchase_order.create", ["payment_id"=>$params['payment_id'], "is_confirm"=>1]); $btn_str = '登録'; } @endphp
@endsection @section('page_css') @endsection