@php $addClientCategoryPermission = user()->permission('manage_client_category'); $addClientSubCategoryPermission = user()->permission('manage_client_subcategory'); $addClientNotePermission = user()->permission('add_client_note'); @endphp
@include('sections.password-autocomplete-hide')

@lang('modules.employees.accountDetails')

@if (isset($lead->id)) @endif
@foreach ($salutations as $salutation) @endforeach
@lang('placeholders.password')
@foreach ($countries as $item) @endforeach
@if ($addClientCategoryPermission == 'all') @endif
@if ($addClientSubCategoryPermission == 'all') @endif

@lang('modules.client.companyDetails')

@if (function_exists('sms_setting') && sms_setting()->telegram_status)
@endif @if ($addClientNotePermission == 'all' || $addClientNotePermission == 'added' || $addClientNotePermission == 'both')
@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($editUser) ? $editUser->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')