@if( $work_info_action == 'edit' )
@else @endif @csrf @if( Auth::user()->allowToManageUsers() )
{{ __('Job Info') }}
@error('employment_type') {{ $message }} @enderror
@if( $work_info_action == 'edit' || $user->details->joined_date ) @else @endif @error('joined_date') {{ $message }} @enderror
@if( $work_info_action == 'edit' || $user->details->confirmation_date ) @else @endif @error('confirmation_date') {{ $message }} @enderror
@if( $user->active == 0 && $user->details->resigned_date != null )
@endif
@error('job_id') {{ $message }} @enderror
@if( $work_info_action == 'edit' ) @else @endif
@if( $work_info_action == 'edit' ) @php $hod = $user->details->getDepartment()->getDepartmentHeadName(); @endphp @else @endif
@if( $user->active == 0 && $user->details->resigned_date != null )
@endif

{{ __('Superior Info') }}

@if( ( $user_superiors && $user_superiors->count() < 3 ) || $work_info_action == 'add-new' ) @endif
@error('superior_user_id') {{ $message }} @enderror
@if( $work_info_action == 'edit' ) @foreach ($user_superiors as $index => $user_superior) @if($index > 0)
@endif @endforeach @endif
@endif
@if( $work_info_action == 'edit' ) @else @endif Back
@push('js') @endpush