@extends('backend.layouts.app') @section('content') @if ($type == 'approve')

買取見積【承認】

@else

買取見積【閲覧】

@endif @include('backend.layouts.flash-message') @if ($params->is_agreed == config('const.estimate_print_status.reject'))

否決理由

@include('backend.truck.purchase_estimate._reject_reason_table', ['purchase_estimate' => $params])

買取見積内容

@endif
取引先名 {{ isset($params->partner->company_name1) ? $params->partner->company_name1.' '.$params->partner->company_name2 : '' }}
部署 {{ $params->department }} 担当者 {{ isset($params->charge_user) ? $params->charge_user->name_kanji : '' }} 入力担当者 {{ isset($params->input_user) ? $params->input_user->name_kanji : '' }} 見積金額 {{ $params->estimated_amount ? number_format($params->estimated_amount)."円" : '' }}
@php $count = 0; $cur_price_val = 0; $cur_tax_val = 0; @endphp @foreach ($params->items as $item) @php $count++; $cur_price_val += $item->price; $cur_tax_val += $item->consumption_tax; @endphp @endforeach
項目 金額 消費税 備考
{{ $item->item }} {{ $item->price ? number_format($item->price)."円" : '' }} {{ $item->consumption_tax ? number_format($item->consumption_tax)."円" : '' }} {{ $item->item_note }}
小計 {{ $cur_price_val ? number_format($cur_price_val)."円" : '' }}
消費税 {{ $cur_tax_val ? number_format($cur_tax_val)."円" : '' }}
車両代金合計 {{ ($cur_tax_val + $cur_price_val) ? number_format($cur_tax_val + $cur_price_val)."円" : ''}}
ステータス {{ $params->purchase_status ? config("const.purchase_status.".$params->purchase_status) : '見積作成中' }}
車検証
@php $file_path = isset($params->verification_pdf_path) ? $params->verification_pdf_path : ''; $file_name = isset($params->verification_pdf_name) ? $params->verification_pdf_name : ''; @endphp @if($file_path && $file_name) $file_path, 'file_name'=>$file_name, 'id'=>$params->id]) }}">{{ $file_name }} @endif
承認・否決 {{ config('const.estimate_print_status_lang.'.$params->is_agreed) }}
@if ($type == 'approve' && !$params->is_agreed) @endif
@include('backend.share._modal._confirm_dialog') @endsection @section('page_css') @endsection @section('page_js') @endsection