@extends('layouts.jobseeker') @section('content')

Employer Talent Access Grants

Review, authorize, or revoke employer access requests to your full verified curriculum vitae and contact coordinates.

Privacy Settings
@if(session('success'))
{{ session('success') }}
@endif @if(session('info'))
{{ session('info') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif
Awaiting Your Decision
{{ $counts['pending'] }}
Active Grants
{{ $counts['approved'] }}
Lifetime Sourcing Requests
{{ $counts['total'] }}
All Requests Pending Action ({{ $counts['pending'] }}) Active ({{ $counts['approved'] }}) Expired & Declined
@if($requests->isEmpty())

No Access Requests Found

When verified employers discover your anonymized qualification profile and request full resume access, you will receive notifications here to approve or decline.

@else
@foreach($requests as $req) @php $employerName = $req->employer->employerProfile?->company_name ?: $req->employer->name; $industry = $req->employer->employerProfile?->industry ?? 'Enterprise Recruitment'; $isVerified = $req->employer->employerProfile?->isVerified() ?? false; @endphp
@if($req->isPending()) Pending Your Consent @elseif($req->isActive()) Active Grant @elseif($req->isRejected()) Declined @elseif($req->isExpired()) Expired @else {{ ucfirst($req->status) }} @endif Requested on {{ $req->requested_at?->format('d M Y, h:i A') }}

{{ $employerName }} @if($isVerified) @endif

{{ $industry }} @if($req->vacancy) Linked Requisition: {{ $req->vacancy->title }} @endif
Hiring Purpose / Justification:

"{{ $req->hiring_reason }}"

@if($req->rejection_reason)
Declined Reason: {{ $req->rejection_reason }}
@endif
@if($req->isActive())
Access valid until {{ $req->expires_at?->format('d M Y, h:i A') }} ({{ (int) now()->diffInDays($req->expires_at, false) }} days remaining) @if($req->views_count > 0) Viewed {{ $req->views_count }} {{ Str::plural('time', $req->views_count) }} @endif
@endif
@if($req->isPending())
@csrf
@elseif($req->isActive())
@csrf
@endif
@endforeach
{{ $requests->links() }}
@endif
@endsection