@if (in_array('staff_no', $has_permission))
@endif
@if (in_array('role', $has_permission))
@lang('hr.role')
{{ in_array('role', $is_required) ? '*' : '' }}
@if ($editData->role_id != 1)
@lang('common.select')
{{ in_array('role', $is_required) ? '*' : '' }}
@foreach ($roles as $key => $value)
role_id == 3 ? $editData->previous_role_id : $editData->role_id) == $value->id)
selected @endif
@endif
>{{ $value->name }}
@endforeach
@else
Superadmin
@endif
@if ($errors->has('role_id'))
{{ $errors->first('role_id') }}
@endif
@endif
@if (in_array('department', $has_permission))
@lang('hr.department')
{{ in_array('department', $is_required) ? '*' : '' }}
@lang('common.select')
{{ in_array('department', $is_required) ? '*' : '' }}
@foreach ($departments as $key => $value)
department_id == $value->id)
selected @endif
@endif
>{{ $value->name }}
@endforeach
@if ($errors->has('department_id'))
{{ $errors->first('department_id') }}
@endif
@endif
@if (in_array('designation', $has_permission))
@lang('hr.designation')
{{ in_array('designation', $is_required) ? '*' : '' }}
@lang('common.select')
{{ in_array('designation', $is_required) ? '*' : '' }}
@foreach ($designations as $key => $value)
designation_id == $value->id)
selected @endif
@endif
>{{ $value->title }}
@endforeach
@if ($errors->has('designation_id'))
{{ $errors->first('designation_id') }}
@endif
@endif
@if (in_array('first_name', $has_permission))
@endif
@if (in_array('last_name', $has_permission))
@endif
@if (in_array('fathers_name', $has_permission))
@endif
@if (in_array('mothers_name', $has_permission))
@endif
@if (in_array('email', $has_permission))
@endif
@if (in_array('gender', $has_permission))
@lang('common.gender')
{{ in_array('gender', $is_required) ? '*' : '' }}
@lang('common.gender')
{{ in_array('gender', $is_required) ? '*' : '' }}
@foreach ($genders as $gender)
gender_id == $gender->id)
selected @endif
@endif
>{{ $gender->base_setup_name }}
@endforeach
@if ($errors->has('gender_id'))
{{ $errors->first('gender_id') }}
@endif
@endif
@if (in_array('date_of_birth', $has_permission))
@endif
@if (in_array('date_of_joining', $has_permission))
@endif
@if (in_array('mobile', $has_permission))
@endif
@if (in_array('marital_status', $has_permission))
@lang('hr.marital_status')
{{ in_array('marital_status', $is_required) ? '*' : '' }}
@lang('hr.marital_status')
{{ in_array('marital_status', $is_required) ? '*' : '' }}
marital_status == 'married' ? 'selected' : '' }}>
@lang('hr.married')
marital_status == 'unmarried' ? 'selected' : '' }}>
@lang('hr.unmarried')
@endif
@if (in_array('emergency_mobile', $has_permission))
@endif
@if (in_array('driving_license', $has_permission))
@endif
@if (in_array('staff_photo', $has_permission))
@endif
@lang('front_settings.show_as_expert_staff')
@if (in_array('current_address', $has_permission))
@lang('hr.current_address')
{{ in_array('current_address', $is_required) ? '*' : '' }}
@if ($errors->has('current_address'))
{{ $errors->first('current_address') }}
@endif
@endif
@if (in_array('permanent_address', $has_permission))
@lang('hr.permanent_address')
{{ in_array('permanent_address', $is_required) ? '*' : '' }}
@if ($errors->has('permanent_address'))
{{ $errors->first('permanent_address') }}
@endif
@endif
@if (in_array('qualifications', $has_permission))
@lang('hr.qualifications')
{{ in_array('qualifications', $is_required) ? '*' : '' }}
@if ($errors->has('qualification'))
{{ $errors->first('qualification') }}
@endif
@endif
@if (in_array('experience', $has_permission))
@lang('hr.experience')
{{ in_array('experience', $is_required) ? '*' : '' }}
@if ($errors->has('experience'))
{{ $errors->first('experience') }}
@endif
@endif
@if (moduleStatusCheck('Lms'))
@if (in_array('staff_bio', $has_permission))
@lang('staff.staff_bio')
{{ in_array('staff_bio', $is_required) ? '*' : '' }}
@if ($errors->has('staff_bio'))
{{ $errors->first('staff_bio') }}
@endif
@endif
@endif