@extends('admin.layout') @section('title', 'Manage account roles') @section('content')
Super admin

Manage account roles

Search accounts and change their access between job seeker, employer, and administrator portals.

@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())@endif
{{ number_format($users->total()) }} account{{ $users->total() === 1 ? '' : 's' }}
Clear
@if ($users->isEmpty())
No accounts match your search.
@else
@foreach ($users as $user) @endforeach
AccountTypeProfileEmail verifiedRegisteredManage role
{{ $user->name }}{{ $user->email }} {{ str($user->role->value)->replace('_', ' ')->title() }} @if ($user->jobSeeker){{ $user->jobSeeker->headline ?: 'Job seeker profile' }}@elseif ($user->employer){{ $user->employer->company_name }} {{ $user->employer->is_verified ? 'Verified employer' : 'Awaiting verification' }}@elseNo profile@endif {{ $user->email_verified_at ? 'Yes' : 'No' }}{{ $user->created_at?->format('d M Y') }}
@csrf @method('PATCH')
@endif
@endsection