@php $page_count = 1; @endphp
作業指示書 整1課 | 整2課 | 架1課 | 架2課
発行日 : {{ \App\Helper\SystemHelper::convertGtJDate(Carbon::now()->format('Y')) }}{{ sprintf('%2d月', Carbon::now()->format('m')).sprintf('%2d日', Carbon::now()->format('d')) }}
請求先名 連絡先 伝票番号
{{ $params->getBillDestNameForPrint() }} {{ config('const.honorific_type.'.( !empty($params->bill_dest_honorific_type) ? $params->bill_dest_honorific_type : config('const.honorific_type_code.you'))) }} {{ is_object($params->partner) ? $params->partner->getFullTel() : '' }} {{ $params->reception_no }}
お客様名 形状 登録番号 車名 型式 原動機型式
{{ $params->getPartnerNameForPrint() }}{{ config('const.honorific_type.'.( !empty($params->partner_honorific_type) ? $params->partner_honorific_type : config('const.honorific_type_code.mr'))) }} {{ $params->vehicle_shape }} {{ $params->register_no }} {{ is_object($params) ? $params->vehicle_name : '' }} {{ $params->model_first.'-'.$params->model_second }} {{ $params->engine_model }}
車台番号 初年度登録 入庫日 入庫時走行距離 出庫日 次回車検日 入力者 担当者
{{ $params->chassis_no }} {{ isset($params->year_type_y) ? \App\Helper\SystemHelper::convertGtJYeaMonth($params->year_type_y, $params->year_type_m) : '' }} {{ !empty($params->reception_input_date) ? Carbon::parse($params->reception_input_date)->format('Y年n月j日') : '' }} {{ empty($params->travel_distance) ? '' : number_format($params->travel_distance) }}km {{ !empty($params->output_date) ? Carbon::parse($params->output_date)->format('Y年n月j日') : '' }} {{ $params->next_inspection_date }} {{ is_object($params->input_user) ? $params->input_user->name_kanji : '' }} {{ is_object($params->charger) ? $params->charger->name_kanji : '' }}
備考

@php if(isset($params->reception_note)) echo nl2br($params->reception_note); @endphp

@php $real_count = 0; $content_count = 26; @endphp @if(isset($params->content)) @foreach($params->printable_content as $key => $content) @php if($work_count > 69) { $content_count--; } $real_count++; @endphp @if($real_count > $content_count) @break @endif @endforeach @endif @if($real_count < $content_count) @foreach(range($real_count+1, $content_count) as $index) @endforeach @endif
作業内容 区分 担当者名 作業日 作業時間 作業詳細
@if($content->work_kind == config('const.content_work_kind.main_work')) @if(is_object($content->sub_category)) {{ $content->sub_category->UJName(true) }} @php $work_count = strlen($content->sub_category->UJName(true)); @endphp @endif @else @php $work_count = strlen($content->work_sub_category); @endphp

{{ $content->work_sub_category }}

@endif
{{ config('const.order_class.'.($content->class)) }}
{{$page_count}}P
@if(isset($params->id)) @while($params->getPrintableCount() > $real_count) @php $page_count++; @endphp
作業指示書 整1課 | 整2課 | 架1課 | 架2課
発行日 : {{ \App\Helper\SystemHelper::convertGtJDate(Carbon::now()->format('Y')) }}{{ sprintf('%2d月', Carbon::now()->format('m')).sprintf('%2d日', Carbon::now()->format('d')) }}
請求先名 連絡先 伝票番号
{{ $params->getBillDestNameForPrint() }} {{ config('const.honorific_type.'.( !empty($params->bill_dest_honorific_type) ? $params->bill_dest_honorific_type : config('const.honorific_type_code.you'))) }} {{ is_object($params->partner) ? $params->partner->getFullTel() : '' }} {{ $params->reception_no }}
お客様名 形状 登録番号 車名 型式 原動機型式
{{ $params->getPartnerNameForPrint() }}{{ config('const.honorific_type.'.( !empty($params->partner_honorific_type) ? $params->partner_honorific_type : config('const.honorific_type_code.mr'))) }} {{ $params->vehicle_shape }} {{ $params->register_no }} {{ is_object($params) ? $params->vehicle_name : '' }} {{ $params->model_first.'-'.$params->model_second }} {{ $params->engine_model }}
車台番号 初年度登録 入庫日 入庫時走行距離 出庫日 次回車検日 入力者 担当者
{{ $params->chassis_no }} {{ isset($params->year_type_y) ? \App\Helper\SystemHelper::convertGtJYeaMonth($params->year_type_y, $params->year_type_m) : '' }} {{ !empty($params->reception_input_date) ? Carbon::parse($params->reception_input_date)->format('Y年n月j日') : '' }} {{ empty($params->travel_distance) ? '' : number_format($params->travel_distance) }}km {{ !empty($params->output_date) ? Carbon::parse($params->output_date)->format('Y年n月j日') : '' }} {{ $params->next_inspection_date }} {{ is_object($params->input_user) ? $params->input_user->name_kanji : '' }} {{ is_object($params->charger) ? $params->charger->name_kanji : '' }}
備考

@php if(isset($params->reception_note)) echo nl2br($params->reception_note); @endphp

@php $loop_count = 0; $content_count = 26; @endphp @if(isset($params->content)) @foreach($params->printable_content as $key => $content) @if($key >= $real_count) @php $loop_count++; $real_count++; if($work_count > 69) { $content_count--; } @endphp @if($loop_count > $content_count) @break @endif @endif @endforeach @endif @if($loop_count < $content_count) @foreach(range($loop_count, $content_count) as $index) @endforeach @endif
作業内容 区分 担当者名 作業日 作業時間 作業詳細
@if($content->work_kind == config('const.content_work_kind.main_work')) @if(is_object($content->sub_category)) @php $work_count = strlen($content->sub_category->UJName(true)); @endphp {{ $content->sub_category->UJName(true) }} @endif @else @php $work_count = strlen($content->work_sub_category); @endphp

{{ $content->work_sub_category }}

@endif
{{ config('const.order_class.'.($content->class)) }}
{{ $page_count }}P
@endwhile @endif