@php $addClientCategoryPermission = user()->permission('manage_client_category'); $addClientSubCategoryPermission = user()->permission('manage_client_subcategory'); @endphp

@lang('modules.employees.accountDetails')

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

@lang('modules.client.companyDetails')

@if ($editPermission == 'all')
@foreach ($employees as $item) @endforeach
@endif @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($clientDetail) ? $clientDetail->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')