@php $a = $agent ?? null; $u = $a?->user; $selectedCompanies = collect( old('company_ids', $a?->allowedCompanies?->pluck('id')->all() ?? []) )->map(fn ($id) => (int) $id)->all(); $status = old('status', $a->status ?? 'active'); @endphp
@if($a)
If you do not want to change the password, keep this field empty.
@endif
Agent can see only his own candidates from the selected companies/customers. Hold Ctrl/Command to select multiple.