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

作業(外注)【確認】

@include('backend.layouts.flash-message')
@if(isset($out_content->out_content_no) && $out_content->out_content_no)

{{ (empty($out_content->out_content_no) ? '' : '外注番号 ').$out_content->out_content_no }}

@endif
伝票番号 {{ isset($out_content->work_reception->reception_no) ? $out_content->work_reception->reception_no : '' }}
依頼元 {{ \App\Models\Masters\VehicleBase::findById($out_content->request_dest, 'name') }}
外注先 {{ is_object($out_content->ob_requester) ? $out_content->ob_requester->getFullName() : '' }}
{{ Form::open(["route"=>"backend.{$department}.work_reception.save_out_work"]) }}
伝票
@foreach(config('const.out_work_status') as $key => $status) reception_status) ? $out_content->reception_status : config('const.out_work_status_code.not')) == $key ? 'checked' : '' }} disabled> @endforeach
依頼日 {{ isset($out_content->reception_date) ? $out_content->reception_date : '' }}
依頼者 {{ \App\Service\UserService::getUserName(isset($out_content->reception_user) ? $out_content->reception_user : '') }}
お客様名を依頼書に反映
display_client_name) ? $out_content->display_client_name : '') ? 'checked' : '' }}>
@include('backend.share.work_reception.out_work._main_info', ['reception_no'=>(isset($out_content->out_content_no) ? $out_content->out_content_no : '')])

作業内容

@if(isset($contents) && is_object($contents) && $contents->count() > 0) @foreach($contents as $key => $content) @endforeach @endif @php $display_count = 0; @endphp
種別 作業内容 数量 請求単価 原単価 原価小計
{{ \App\Models\Masters\WorkKind::findById($content->work_kind, 'name') }} {{ $content->work_sub_category }} {{ $content->quantity }} {{ !is_null($content->unit_price) ? number_format($content->unit_price) : '' }} {{ !is_null($content->original_unit_price) ? number_format($content->original_unit_price).'円' : '' }} {{ !is_null($content->total) ? number_format($content->total).'円' : '' }}
1, 'out_content_id'=>(isset($out_content->id) ? $out_content->id : '')]) }}"'>
{{ Form::close() }} @endsection @section('page_css') @endsection @section('page_js')