@extends('layouts.dashboard') @section('title', 'Pending User Approvals') @section('content')

Pending User Approvals

Approve or reject users created by client admins

{{ $stats['total_pending'] }}

Total Pending

{{ $stats['today'] }}

Added Today
@if(request()->hasAny(['search', 'client_id'])) @endif
@if($pendingUsers->count() > 0)
@csrf
@foreach($pendingUsers as $user) @endforeach
User Client Created By Requested Actions
{{ strtoupper(substr($user->name, 0, 1)) }}
{{ $user->name }}
{{ $user->email }}
{{ $user->client?->name ?? 'Unknown' }} @if($user->createdByClientAdmin) {{ $user->createdByClientAdmin->name }} @else - @endif {{ $user->created_at->diffForHumans() }}
@if($pendingUsers->hasPages()) @endif
@else
All Caught Up!

No pending user approvals at this time.

@endif @endsection @push('scripts') @endpush