{{ $pendingCount }} pending deletion request(s)
Please review and approve or deny these requests. Accounts will be deleted in 48 hours if approved.
{{ $requests->total() }}
Total Requests
{{ $pendingCount }}
Pending
{{ \App\Models\AccountDeletionRequest::approved()->count() }}
Approved
{{ \App\Models\AccountDeletionRequest::denied()->count() }}
Denied
Deletion Requests
| User | Type | Reason | Status | Requested | Actions |
|---|---|---|---|---|---|
|
@if($request->user->avatar)
{{ substr($request->user->name, 0, 1) }}
@endif
{{ $request->user->name }}
{{ $request->user->email }} |
{{ ucfirst($request->user_type) }} | @if($request->reason) {{ Str::limit($request->reason, 80) }} @else No reason provided @endif | @if($request->status === 'pending') Pending @elseif($request->status === 'approved') Approved @else Denied @endif |
{{ $request->created_at->format('M d, Y') }}
{{ $request->created_at->diffForHumans() }} |
View
@if($request->status === 'pending')
@endif
|
|
No deletion requests found |
|||||
{{ $requests->links() }}
@endif