@extends('backEnd.master') @section('title') @lang('hr.staff_settings') @endsection @section('mainContent')
@lang('student.settings')
@lang('common.dashboard')
@lang('hr.human_resource')
@lang('common.settings')
@lang('hr.staff_information_field')
@php $count = $staff_settings->count(); $half = round($count / 2); @endphp @foreach ($staff_settings as $field) @if ($loop->iteration == 1 or $loop->iteration == $half + 1)
@endif @if ($loop->iteration == $half or $loop->iteration == $count)
@lang('student.registration_field')
@lang('hr.staff_edit')
@lang('student.required')
{{ __('hr.' . $field->field_name) }}
staff_edit == 0 ? '' : 'checked' }}>
field_name == 'phone_number') id='phone_number' data-phone_number="{{ $field->is_required }}" @endif @if ($field->field_name == 'email_address') id='email_address' data-email_address="{{ $field->is_required }}" @endif data-id="{{ $field->id }}" data-value="{{ $field->field_name }}" class="required_switch_btn" {{ @$field->is_required == 0 ? '' : 'checked' }}>
@endif @endforeach
@lang('hr.teacher_information_view')
@lang('hr.field')
@lang('common.view')
Email
teacher_email_view == 0 ? '' : 'checked' }}>
@lang('hr.field')
@lang('common.view')
Phone
teacher_phone_view == 0 ? '' : 'checked' }}>
@endsection @push('script') @endpush