@extends('layouts.general') @section('link') {{Html::style('css/common/common.css')}} {{Html::style('css/career/car021.css')}} @endsection @include('layouts.header') @section('edit') {{-- 登録失敗時のメッセージ(成功時はlayout.masterに記載) --}} @if(isset($isError) && $isError)

{{Message::get('updatedFail')}}

@endif @endsection @section('content')
{{--バリデーションチェックのエラーメッセージ--}}
  • @{{form.errors.get(key)}}

職員の職責 新規登録・変更

{{-- 検索部 --}}
検索条件
{{Form::open( [ 'route' => 'car021.search', 'class' => 'col-xs-12 search-box', 'id' => 'car021PostForm' ] )}}
チーム分類
{{Form::n_select( 'teamGroup', $teamGroups, $teamGroup ?? null, Message::get('C00001'), ['class' => 'form-control search-select'], null )}}
チーム名
{{Form::n_select( 'teamName', $teamNames, $teamName ?? null, Message::get('C00001'), ['class' => 'form-control search-select'], null )}}
職員分類
{{Form::n_select( 'staffGroup', $staffGroups, $staffGroup ?? null, Message::get('C00001'), ['class' => 'form-control search-select'], null )}}
職員名(必須)
{{Form::n_select( 'trzMemberId', $staffNames, $trzMemberId ?? null, Message::get('C00001'), [ 'class' => 'form-control search-select', 'id' => 'staffName' ], null )}}
{{Form::close()}} {{-- 登録部 --}} @if($searchStatus) {{Form::open( [ 'route' => 'car021.register', 'class' => "form-inline col-xs-12 padding_all_zero ajaxValidateFrm", 'id' => 'registerForm' ] )}} {{-- 再表示用の値保持 --}} {{Form::hidden('teamGroup', $teamGroup)}} {{Form::hidden('teamName', $teamName)}} {{Form::hidden('staffGroup', $staffGroup)}} {{Form::hidden('trzMemberId', $trzMemberId)}} {{-- 職員名 --}}

{{$staffName}}

{{-- 次に目指す職責 --}}

次に目指す職責:{{$nextDutyName}}

{{-- 現在の職責 --}}

現在の職責

@include( 'career.car021.duty_table', [ 'id' => 'currentDutyTable', 'dutys' => $currentDutys ] ) {{-- 職責の実績 --}}

職責の実績

@include( 'career.car021.duty_table', [ 'id' => 'oldDutyTable', 'dutys' => $oldDutys ] )
{{Html::link( route('getCareerIndex'), 'メニューへ戻る', [ 'id' => 'cancelBtn', 'class' => 'btn btn-primary' ] )}} {{Form::button( '確 定', [ 'id' => 'submitBtn', 'class' => 'btn btn-primary', 'data-ajaxurl' => route('car021.ajax_validate'), // 登録前バリデーション(validateFrm.js)を利用する '@click' => 'onSubmit' ] )}}
{{Form::close()}} @endif
@if($searchStatus)

現在の職責の就任要件

{{-- 就任要件一覧 --}}
@foreach($currentDutyReqs AS $currentDutyReq) {{-- 就任要件名 --}}

{{$currentDutyReq['name']}}の就任要件

{{-- 就任要件個別項目一覧 --}} @foreach($currentDutyReq['positionReqs'] AS $positionReq) @if($positionReq['position_check']) @else @endif @endforeach @foreach($currentDutyReq['skillReqs'] AS $skillReq) @if($skillReq['skill_req_check']) @else @endif @if($skillReq['pattern'] === 1) @else @endif @foreach($skillReq['item'] AS $skillReqItem) @if($skillReq['skill_req_check']) @else @endif @endforeach @endforeach @foreach($currentDutyReq['lectureReqs'] AS $lectureReq) @if($lectureReq['lecture_req_check']) @else @endif @if($lectureReq['pattern'] === 1) @else @endif @foreach($lectureReq['item'] AS $lectureReqItem) @if($lectureReq['lecture_req_check']) @else @endif @endforeach @endforeach @foreach($currentDutyReq['qualificationReqs'] AS $qualificationReq) @if($qualificationReq['qualification_req_check']) @else @endif @if($qualificationReq['pattern'] === 1) @else @endif @foreach($qualificationReq['item'] AS $qualificationReqItem) @if($qualificationReq['qualification_req_check']) @else @endif @endforeach @endforeach
達成 就任要件
{{Form::checkbox('reqItemCheck', null, $positionReq['position_check'])}} {{$positionReq['name']}} {{$positionReq['grade']}}級 以上の職位に在位していること
{{Form::checkbox('reqItemCheck', null, $skillReq['skill_req_check'])}} 以下のすべてのスキルを満たしていること以下のいずれかのスキルを{{$skillReq['necessary_num']}}つ以上満たしていること
{{Form::checkbox('reqItemCheck', null, $skillReqItem['skill_check'])}} {{$skillReqItem['name']}}({{$skillReqItem['rank']}}以上)
{{Form::checkbox('reqItemCheck', null, $lectureReq['lecture_req_check'])}} 以下のすべての研修・訓練を受講していること以下のいずれかの研修・訓練を{{$lectureReq['necessary_num']}}つ以上受講していること
{{Form::checkbox('reqItemCheck', null, $lectureReqItem['lecture_check'])}} {{$lectureReqItem['name']}}
{{Form::checkbox('reqItemCheck', null, $qualificationReq['qualification_req_check'])}} 以下のすべての資格を取得していること以下のいずれかの資格を{{$qualificationReq['necessary_num']}}つ以上取得していること
{{Form::checkbox('reqItemCheck', null, $qualificationReqItem['qualification_check'])}} {{$qualificationReqItem['name']}}
@endforeach
@else
{{Html::link( route('getCareerIndex'), 'メニューへ戻る', [ 'id' => 'cancelBtn', 'class' => 'btn btn-primary' ] )}}
@endif
@endsection @section('optionalJs') {{Html::script('js/lib/validateFrm.js')}} {{-- ページ内グローバル変数の定義 --}} {{Html::script('js/career/car021.js')}} @append @include ('layouts.footer')