@csrf
@php $roles = ['admin', 'hr', 'manager', 'employee']; $selectedRoles = old('visible_to_roles', $notice->visible_to_roles ?? []); @endphp @foreach($roles as $role)
@endforeach