伝票番号 | {{ $params->reception_no }} | 顧客名 |
{{ isset($params->partner->partner_code) ? $params->partner->partner_code : "" }}
-
{{ isset($params->partner_name) ? $params->partner_name : "" }}
|
請求先 |
{{ isset($params->bill_dest->bank_name) ? $params->bill_dest->bank_name : "" }} |
車台番号 | {{ $params->chassis_no }} | 車名 | {{ $params->vehicle_name }} | 登録番号 | {{ $params->register_no }} | 入庫日付 | {{ isset($params->input_date) ? Carbon::parse($params->input_date)->format('Y.m.d') : "" }} | 出庫日付 | {{ isset($params->output_date) ? Carbon::parse($params->output_date)->format('Y.m.d') : "" }} | 完成日 |
{{ isset($params->completed_date) ? Carbon::parse($params->completed_date)->format('Y.m.d') : "" }}
{{ config('const.month_section.'.$params->completed_month) }} |
入力者 | {{ isset($params->input_user->name_kanji) ? $params->input_user->name_kanji : "" }} | 担当者 | {{ isset($params->charger->name_kanji) ? $params->charger->name_kanji : "" }} | 在庫場所 | {{ \App\Service\Masters\VehicleShedService::getShedNameByID($params->vehicle_status) }} | 作業ステータス | {{ config('const.moritis_work_status.'.$params->work_status) }} | 走行距離 | {{ isset($params->travel_distance) ? $params->travel_distance.'km' : "" }} |
---|
備考 |
reflect_work_fee) ? $params->reflect_work_fee : "" == 1) ? 'checked' : '' }}>
|
---|
郵便番号 | {{ isset($params->post_code) ? $params->post_code : "" }} | 住所 | {{ isset($params->address) ? $params->address : "" }} | 電話番号 | {{ isset($params->tel) ? $params->tel : "" }} | 型式 | {{ isset($params->model_first) ? $params->model_first.'-' : "" }}{{ isset($params->model_second) ? $params->model_second : "" }} | エンジン型式 | {{ isset($params->engine_model) ? $params->engine_model : "" }} | {{--車両種別 | {{ isset($params->vehicle_type) ? $params->vehicle_type : "" }} | --}}初年度登録 | {{ isset($params->register_first_year) ? $params->register_first_year : "" }} | 次回車検日 | {{ isset($params->next_inspection_date) ? $params->next_inspection_date : "" }} |
---|
種別 | @if ($department == 'moritis')作業コード | @endif作業内容 | @if ($department == "parts")部品コード | 区分 | @endif @if($department == "moritis")区分 | @endif数量 | 単位 | 単価 | 小計 | @if ($department == 'moritis')レス | @endif原単価 | 原価小計 | 依頼先 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ isset($content->work->name) ? $content->work->name : '' }} | @if ($department == 'moritis'){{ isset($content->process->work_code) ? $content->process->work_code : '' }} | @endif@if (isset($content->sub_category->name) && $content->work_kind == config('const.content_work_kind.main_work')) {{ $content->sub_category->name }} @else {{ $content->work_sub_category }} @endif | @if ($department == "parts"){{ $content->parts_code }} | {{ config('const.order_class.'.$content->class) }} | @else @if ($department == "moritis"){{ config('const.order_class.'.$content->class) }} | @endif @endif{{ empty($content->quantity) ? '' :$content->quantity }} | {{ $content->unit }} | {{ empty($content->unit_price) ? '' : number_format($content->unit_price) }} | {{ empty($content->sub_total) ? '' : number_format($content->sub_total) }} @php $total += $content->sub_total @endphp | @if ($department == 'moritis'){{ $content->response }} | @endif{{ empty($content->original_unit_price) ? '' : number_format($content->original_unit_price) }} | {{ empty($content->total) ? '' : number_format($content->total) }} | {{ isset($content->requester_company->company_name1) ? $content->requester_company->company_name1 : "" }} | @if ($content->work_kind == config('const.content_work_kind.out_work') && $content->work_kind == config('const.content_work_kind.out_parts')) | @endif||||||||||
@elseif($department == "parts") | @else | @endif | 技術料 | {{ empty($params->technical_fee) ? '' : (is_numeric($params->technical_fee) ? number_format($params->technical_fee) : '') }} | @if ($department == "parts") | @endif | ||||||||||||||||||
@elseif($department == "parts") | @else | @endif | 部品金額 | {{ empty($params->parts_fee) ? '' : number_format($params->parts_fee) }} | @if ($department == "parts") | @endif | ||||||||||||||||||
@elseif($department == "parts") | @else | @endif | お見積額 | {{ empty($params->parts_fee + $params->technical_fee) ? '' : number_format($params->parts_fee + $params->technical_fee) }} | @if ($department == "parts") | @endif |
付帯費用 | |||
---|---|---|---|
@php $title_field = 'fee_title'.sprintf('%02d', $index); $fee_field = 'fee'.sprintf('%02d', $index); @endphp {{ isset($params->$title_field) ? $params->$title_field : '' }} | {{ (isset($params->$fee_field) && is_numeric($params->$fee_field )) ? number_format($params->$fee_field ) : ''}} @php $total_fee += isset($params->$fee_field) ? intval($params->$fee_field) : 0; @endphp | @if($index % 2 == 0)||
技術料 |
{{ (isset($params->technical_fee) && is_numeric($params->technical_fee)) ? number_format($params->technical_fee).'円' : '' }} |
||
部品金額 |
{{ (isset($params->parts_fee) && is_numeric($params->parts_fee)) ? number_format($params->parts_fee).'円' : '' }} |
||
付帯費用 |
{{ is_numeric($total_fee) ? number_format($total_fee).'円' : '' }} |
||
見積合計 |
{{ is_numeric($total + $total_fee) ? number_format($total + $total_fee).'円' : '' }} |