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

受付【確認】

伝票種別 {{ config('const.work_reception_document.'.(isset($params['print_type']) ? $params['print_type'] : '')) }}

作業内容

@if ($department == 'moritis') @endif @if ($department == "parts") @endif @if($department == "moritis") @endif @unless($department == 'moritis' || $department == 'truck') @endunless @php $total = 0; @endphp @if (isset($params['content']) && count($params['content'])) @foreach ($params['content'] as $content_index => $content) @if (isset($content['is_save']) && $content['is_save'] == 0) @continue @endif @if ($department == 'moritis') @endif @if ($department == 'parts') @endif @if (isset($content['work_kind']) && $content['work_kind'] == 1 && isset($content['work_sub_category']) && is_numeric($content['work_sub_category'])) @else @endif @if ($department == "moritis" || $department == "parts") @endif @unless($department == 'moritis' || $department == 'truck') @endunless @if (in_array($content['work_kind'], config('const.content_out_work'))) @else @endif @endforeach @endif
種別作業コード作業内容部品コード 区分区分数量単位単価 小計 レス 原単価 原価小計 依頼先 請求
{{ isset($content['work_kind']) ? App\Models\Masters\WorkKind::findById($content['work_kind'], 'name') : '' }} {{ isset($content['work_code_name']) ? ($content['work_code_name']) : '' }} {{ $content['manager_no'] }} @php $category_name = App\Models\Masters\WorkSubCategory::findById($content['work_sub_category'], 'name'); $l_index = strpos($category_name, '('); @endphp @if($l_index) @php $l_index = strpos($category_name, '('); $code_name1 = substr($category_name, 0, $l_index); $code_name2 = substr($category_name, $l_index); @endphp {{ "【".$code_name1."】" }}{{$code_name2}} @else {{ "【".$category_name."】" }} @endif {{ isset($content['work_sub_category']) ? ($content['work_sub_category']) : '' }} {{ isset($content['class']) ? config('const.order_class.'.$content['class']) : '' }} {{ $content['quantity'] }} {{ isset($content['unit']) ? $content['unit'] : '' }} {{ !is_numeric($content['unit_price']) ? '' : number_format($content['unit_price']) }} {{ !is_numeric($content['sub_total']) ? '' : number_format($content['sub_total']) }} @php $total += $content['sub_total'] @endphp {{ !is_numeric($content['response']) ? '' : number_format($content['response']) }} {{ !is_numeric($content['original_unit_price']) ? '' : number_format($content['original_unit_price']) }} {{ !is_numeric($content['total']) ? '' : number_format($content['total']) }}

{{ isset($content['requester']) ? App\Models\OutPartner\OutPartner::findById($content['requester'], 'company_name1').' '.App\Models\OutPartner\OutPartner::findById($content['requester'], 'company_name2') : '' }}

{{ \App\Service\UserService::getUserName(isset($content['charger']) ? $content['charger'] : '') }}
{{ isset($content['requester']) ? \App\Models\Masters\VehicleBase::findById($content['requester'], 'name') : '' }} @if(isset($content['work_kind']) &&( $content['work_kind'] == config('const.content_work_kind.work') || $content['work_kind'] == config('const.content_work_kind.parts')))

{{ \App\Service\UserService::getUserName(isset($content['charger']) ? $content['charger'] : '') }}

@endif
{{ isset($content['accept_bill']) ? config('const.accept_bill.'.$content['accept_bill']) : '' }}

合計欄

作業代 部品代 消費税 整備合計 諸費用(非課税) 諸費用(課税) 諸費用消費税 諸費用合計 預り金 調整値引き 請求合計
@php $sub_part = 'work_reception'; $is_confirm = 1; @endphp {{-- @include('backend.share._modal._m_photo', ['sub_part'=>'work_reception', 'confirm_params'=>$params, 'is_confirm'=>1]) --}}

画像登録

@if (isset($params['id'])) @else @endif
{{ Form::close() }} {{ Form::open(["route"=>"backend.{$department}.work_reception.download_file", "method"=>"get", "id"=>"download_submit", "target"=>"_blank"]) }} {{ Form::close() }} @if (isset($params['id'])) @include('backend.share._modal._m_print_sagyo_uketsuke', ["sub_part"=>"work_reception", 'id'=>$params['id']]) @endif @endsection @section('page_css') @endsection @section('page_js') @endsection