@extends('layouts.admin') @section('title', "User Profile: {$user->name}") @section('page-title', "User Account: {$user->name}") @section('content')
Back to User Registry

{{ $user->name }} @if($user->registration_id) #{{ $user->registration_id }} @endif

Send Direct Email @if(Auth::id() !== $user->id)
@csrf
@endif
@if (session('temporary_password'))
Temporary Password Generated The user has been flagged with mandatory password change upon login. Temporary credential:
{{ session('temporary_password') }}
@endif
{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}
Role: {{ str_replace('_', ' ', $user->role) }}
Account Status: @if($user->status === 'active') Active @elseif($user->status === 'suspended') Suspended @else {{ ucfirst(str_replace('_', ' ', $user->status)) }} @endif
@if($user->status_reason)
Reason: {{ $user->status_reason }}
@endif
Phone: {{ $user->phone ?: 'Not provided' }}
District: {{ $user->assigned_district ?: ($user->jobseekerProfile?->district ?: ($user->employerProfile?->district ?: 'Not assigned')) }}
Email Verified: {{ $user->email_verified_at ? $user->email_verified_at->format('d M Y') : 'Pending' }}
Must Change Password: {{ $user->must_change_password ? 'YES (Forced Reset Active)' : 'NO' }}
Registered On: {{ $user->created_at ? $user->created_at->format('d M Y, h:i A') : '—' }}
@if(Auth::id() !== $user->id)

Modify Account Status

@csrf
@endif @if($user->jobseekerProfile)

Candidate Profile Snapshot

Aadhaar KYC: {{ $user->jobseekerProfile->is_aadhaar_verified ? 'Verified' : 'Pending' }}
Profile Completion: {{ $user->profile_completion }}%
Searchable: {{ $user->jobseekerProfile->is_searchable ? 'Yes' : 'No' }}
Mask Contact: {{ $user->jobseekerProfile->hide_contact_info ? 'Yes (Protected)' : 'No' }}
Full Candidate Dossier →
@elseif($user->employerProfile)

Employer Profile Snapshot

Company: {{ $user->employerProfile->company_name }}
GSTIN: {{ $user->employerProfile->gstin ?: 'N/A' }}
PAN: {{ $user->employerProfile->pan_number ?: 'N/A' }}
Verification: {{ ucfirst($user->employerProfile->verification_status) }}
Full Statutory Verification →
@endif

Inline User Audit Trail & Activity Log

All administrative, authentication, and statutory actions performed by or targeting this account.

Full System Log
@forelse($activityLogs as $log) @empty @endforelse
Timestamp Action Description Actor IP Address
{{ $log->created_at ? $log->created_at->format('d M Y, H:i') : '—' }} {{ $log->action }} {{ $log->description }} {{ $log->user ? $log->user->name : 'System' }} {{ $log->ip_address ?: '—' }}
No activity logs recorded for this user yet.
@if($activityLogs->hasPages())
{{ $activityLogs->links() }}
@endif
@endsection