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

受付【閲覧】

伝票種別 {{ config('const.work_reception_document.'.($params->print_type)) }}
@include('backend.share.work_reception.out_work._main_info', ['reception_no'=>($params->reception_no)])

作業内容

@if ($department == 'moritis') @endif @if ($department == "parts") @endif @if($department == "moritis") @endif @if (Auth::guard("admin")->user()->canShowReceptionPrice() || $params->canShowVehicleWork($department)) @endif @php $total = 0; @endphp @if ($params->content->count() > 0) @foreach ($params->content as $content_index => $content) @if ($department == 'moritis') @endif @if ($department == "parts") @else @if ($department == "moritis") @endif @endif @if (Auth::guard("admin")->user()->canShowReceptionPrice() || $params->canShowVehicleWork($department)) @endif @if (in_array($content->work_kind, config('const.content_out_work'))) @else @endif @endforeach @endif {{-- @if ($department == "moritis") @elseif($department == "parts") @else @endif @if ($department == "parts") @endif @if ($department == "moritis") @elseif($department == "parts") @else @endif @if ($department == "parts") @endif @if ($department == "moritis") @elseif($department == "parts") @else @endif @if ($department == "parts") @endif --}}
種別作業コード作業内容部品コード 区分区分数量 単位単価 小計 レス 原単価 原価小計依頼先 請求
{{ isset($content->work->name) ? $content->work->name : '' }} {{ isset($content->process->work_code) ? $content->process->work_code : '' }} @if (isset($content->sub_category->name) && $content->work_kind == config('const.content_work_kind.main_work')) @php $l_index = strpos($content->sub_category->name, '('); @endphp @if($l_index) @php $l_index = strpos($content->sub_category->name, '('); $code_name1 = substr($content->sub_category->name, 0, $l_index); $code_name2 = substr($content->sub_category->name, $l_index); @endphp {{ "【".$code_name1."】" }}{{$code_name2}} @else {{ "【".$content->sub_category->name."】" }} @endif @else {{ $content->work_sub_category }} @endif {{ $content->parts_code }} {{ config('const.order_class.'.$content->class) }} {{ config('const.order_class.'.$content->class) }} {{ $content_index ? $content->quantity : '' }} {{ $content_index ? $content->unit : '' }} {{ is_null($content->unit_price) ? '' : ($content_index ? number_format($content->unit_price) : '') }} {{ is_null($content->sub_total) ? '' : ($content_index ? number_format($content->sub_total) : '') }} @php $total += $content->sub_total @endphp {{ is_null($content->response) ? '' : ($content_index ? number_format($content->response) : '') }} {{ is_null($content->original_unit_price) ? '' : ($content_index ? number_format($content->original_unit_price) : '') }} {{ is_null($content->total) ? '' : ($content_index ? number_format($content->total) : '') }} {{ (isset($content->requester_company->company_name1) && $content_index) ? $content->requester_company->getFullName() : '' }}

{{ (is_object($content->ob_charger) && $content_index) ? $content->ob_charger->name_kanji : '' }}

{{ $content_index ? \App\Models\Masters\VehicleBase::findById($content->requester, 'name') : '' }} @if($content->work_kind == config('const.content_work_kind.work') || $content->work_kind == config('const.content_work_kind.parts'))

{{ (is_object($content->ob_charger) && $content_index) ? $content->ob_charger->name_kanji : '' }}

@endif
{{ config('const.accept_bill.'.$content->accept_bill) }} @if ($content->work_kind == config('const.content_work_kind.out_work') && $content->work_kind == config('const.content_work_kind.out_parts'))

$params->partner_id]) }}">外注仕入

@endif
技術料 {{ !is_numeric($params->technical_fee) ? '' : number_format($params->technical_fee) }}
部品金額 {{ !is_numeric($params->parts_fee) ? '' : number_format($params->parts_fee) }}
お見積額 {{ !is_numeric($params->parts_fee + $params->technical_fee) ? '' : number_format($params->parts_fee + $params->technical_fee) }}
@if (Auth::guard("admin")->user()->canShowReceptionPrice() || $params->canShowVehicleWork($department))

合計欄

作業代 部品代 消費税 整備合計 諸費用(非課税) 諸費用(課税) 諸費用消費税 諸費用合計 預り金 調整値引き 請求合計
@endif

画像登録

@foreach($params->attachment as $attachment) @endforeach
画像{{ $loop->index + 1 }}:
@if(isset($attachment->id) && isset($attachment->att_file_path) && isset($params->id)) @endif
{{ isset($attachment->note) ? $attachment->note : '' }}
@if ($params->system_part == config('const.system_parts_code.'.$department)) @endif @if (Auth::guard("admin")->user()->canShowReceptionPrice() || $params->canShowVehicleWork($department)) @if ($params->print_type == config('const.work_reception_document_code.delivery')) @else @endif @endif @if (Auth::guard('admin')->user()->canRemoveWorkReception()) @endif
{{ Form::open(["route"=>"backend.{$department}.work_reception.download_file", "method"=>"get", "id"=>"download_submit", "target"=>"_blank"]) }} {{ Form::close() }} @include('backend.share._modal._m_print_detail_document', ["sub_part"=>"work_reception", "id"=>$params->id]) @include('backend.share._modal._m_print_document', ["sub_part"=>"work_reception", "id"=>$params->id]) {{ Form::open(["route"=>["backend.{$department}.work_reception.delete", "reception"=>$params->id], "method"=>"delete", "id"=>"delete_reception_form"]) }} {{ Form::close() }} @endsection @section('page_css') @endsection @section('page_js') @endsection