These users have not activated their account from the email link yet. Approve activates them manually; Reject blocks the account before they can sign in.
{{ $p->name }}
{{ $p->email }}
Role: {{ $p->role->value }}
@if ($p->role === \App\Enums\UserRole::Customer)WhatsApp: {{ $p->whatsapp ?? '—' }}
@else{{ $p->agency_name ?? '—' }} · {{ $p->license_number ?? '—' }}
Mobile: {{ $p->whatsapp ?? '—' }}
@endifReview details before approving or rejecting.
Profile photo
Uploaded by the {{ $this->viewedUser->role === \App\Enums\UserRole::Agent ? 'agent' : 'customer' }}
No profile photo uploaded yet.
@endifName
{{ $this->viewedUser->name }}
{{ $this->viewedUser->email }}
Role
{{ $this->viewedUser->role->label() }}
Approval status
{{ $this->viewedUser->approval_status->label() }}
Agency name
{{ $this->viewedUser->agency_name ?? '—' }}
License number
{{ $this->viewedUser->license_number ?? '—' }}
Mobile number
{{ $this->viewedUser->whatsapp ?? '—' }}
Business certificate
@php($certUrl = $this->certificateUrlFor($this->viewedUser)) @if ($certUrl) View / download certificate (opens new tab) @else—
@endif{{ $this->viewedUser->whatsapp ?? '—' }}
{{ $card['label'] }}
{{ number_format($card['value']) }}
{{ $card['sub'] }}
| Agent | Agency | Total Apps | Approved | Rejected | Pending | Status | Actions |
|---|---|---|---|---|---|---|---|
|
@if ($u->profile_photo_path)
|
{{ $u->agency_name ?: '—' }} @if ($u->license_number) Lic. {{ $u->license_number }} @endif | {{ number_format($u->applications_total) }} | {{ number_format($u->applications_approved) }} | {{ number_format($u->applications_rejected) }} | {{ number_format($u->applications_pending) }} | @if ($u->isPendingApproval()) Pending @elseif ($u->isApproved()) Approved @else Rejected @endif |
@if ($u->id === auth()->id())
—
@elseif ($u->isPendingApproval())
|
| No agents found. | |||||||
@if ($this->users->total()) Showing {{ $this->users->firstItem() }} to {{ $this->users->lastItem() }} of {{ $this->users->total() }} agents @else Showing 0 agents @endif
| Name | @if ($role !== 'agent')Role | Details | Status | Actions | |
|---|---|---|---|---|---|
|
@if ($u->profile_photo_path)
|
@if ($role !== 'agent')
{{ $u->email }} | @endif{{ $u->role->label() }} | @if ($u->role === \App\Enums\UserRole::Customer) WhatsApp: {{ $u->whatsapp ?? '—' }} @else {{ $u->agency_name ?? '—' }} · {{ $u->license_number ?? '—' }} Mobile: {{ $u->whatsapp ?? '—' }} @endif | $u->isPendingApproval(), 'bg-green-100 text-green-800' => $u->isApproved(), 'bg-red-100 text-red-800' => $u->approval_status === \App\Enums\UserApprovalStatus::Rejected, ])> {{ $u->approval_status->label() }} |
@if ($u->id === auth()->id())
—
@elseif ($u->isPendingApproval())
@if ($u->role === \App\Enums\UserRole::Agent)
@elseif ($u->role === \App\Enums\UserRole::Customer)
View
@endif
@else
Rejected
@endif
|