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

Candidate Access Grants & DPDP Compliance Log

Immutable regulatory audit trail tracking all corporate data access requests to jobseeker personal records and curriculum vitae.

Export Compliance CSV
Total Access Requests
{{ $stats['total'] }}
Active Grants
{{ $stats['active'] }}
Pending Consent
{{ $stats['pending'] }}
Declined / Revoked
{{ $stats['rejected'] }}
Total Resume Stream Views
{{ $stats['total_views'] }}
@if($requests->isEmpty())

No Data Access Requests Recorded

All employer candidate talent access requests will be logged here for statutory DPDP Act compliance review.

@else
@foreach($requests as $req) @php $employerCompany = $req->employer->employerProfile?->company_name ?: $req->employer->name; $candidate = $req->candidate; $candidateRef = $candidate->registration_id ?: "Candidate #{$candidate->id}"; @endphp @endforeach
ID Requesting Employer Target Candidate Hiring Purpose Status Requested At Expires At Views Last Viewed
#{{ $req->id }} {{ $employerCompany }} {{ $req->employer->email }} {{ $candidate->name }} #{{ $candidateRef }}
{{ Str::limit($req->hiring_reason, 75) }}
@if($req->vacancy) {{ $req->vacancy->title }} @endif
@if($req->isPending()) Pending @elseif($req->isActive()) Approved @elseif($req->isRejected()) Declined @elseif($req->isExpired()) Expired @else {{ ucfirst($req->status) }} @endif {{ $req->requested_at?->format('d M Y, h:i A') }} @if($req->expires_at) {{ $req->expires_at->format('d M Y') }} @else — @endif {{ $req->views_count }} {{ $req->last_viewed_at ? $req->last_viewed_at->diffForHumans() : 'Never' }}
{{ $requests->links() }}
@endif
@endsection