@php $addDesignationPermission = user()->permission('add_designation'); $addDepartmentPermission = user()->permission('add_department'); @endphp

@lang('modules.employees.accountDetails')

@include('sections.password-autocomplete-hide')
@lang('modules.client.passwordUpdateNote')
@if ($addDesignationPermission == 'all' || $addDesignationPermission == 'added') @endif
@if ($addDepartmentPermission == 'all' || $addDepartmentPermission == 'added') @endif
@php $userImage = $employee->hasGravatar($employee->email) ? str_replace('?s=200&d=mp', '', $employee->image_url) : asset('img/avatar.png'); @endphp
@foreach ($countries as $item) @endforeach
@if ($employee->id != user()->id)
@endif

@lang('modules.client.clientOtherDetails')

@if ($employee->id != user()->id)
@endif
{{-- Users cannot change their own status --}} @if ($employee->id != user()->id && $employee->id != 1)
@endif
{{ global_setting()->currency->currency_symbol }}
@
@if (function_exists('sms_setting') && sms_setting()->telegram_status)
@endif
@if (isset($fields) && count($fields) > 0)
@foreach ($fields as $field)
@if ($field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach ($field->values as $key => $value) @endforeach
@elseif($field->type == 'select')
{!! Form::select('custom_fields_data[' . $field->name . '_' . $field->id . ']', $field->values, isset($employeeDetail) ? $employeeDetail->custom_fields_data['field_' . $field->id] : '', ['class' => 'form-control select-picker']) !!}
@elseif($field->type == 'date') @elseif($field->type == 'checkbox')
@foreach ($field->values as $key => $value) @endforeach
@endif
@endforeach
@endif @lang('app.save') @lang('app.cancel')