@extends('dashboard.layouts.app') @section('content') @include('components.alert') @php $rows = $applicants ?? collect(); $statusVariant = fn ($status) => match ($status) { 'new' => 'neutral', 'rejected' => 'danger', 'hired' => 'success', default => 'neutral', }; $offerVariant = fn ($status) => match ($status) { 'accepted' => 'success', 'pending' => 'warn', 'rejected' => 'danger', default => 'neutral', }; $formatValue = function ($value) { return filled($value) ? ucfirst(str_replace('_', ' ', $value)) : 'N/A'; }; $jobTitleName = optional($recruitment->jobTitles)->name ?: 'Open Position'; $requestCode = 'REQ-' . str_pad((string) $recruitment->request_id, 4, '0', STR_PAD_LEFT); $totalApplicants = $rows->count(); $newApplicants = $rows->where('current_status', 'new')->count(); $hiredApplicants = $rows->filter(fn ($applicant) => $applicant->current_status === 'hired' || $applicant->offer_status === 'accepted')->count(); $rejectedApplicants = $rows->filter(fn ($applicant) => $applicant->current_status === 'rejected' || $applicant->offer_status === 'rejected')->count(); $pendingOffers = $rows->where('offer_status', 'pending')->count(); @endphp
Back to Request My Assigned Applicants Add New Applicant
Recruitment Applicant Workspace

Track candidate progress for this request, review hiring activity, and jump directly into each applicant record.

{{ $jobTitleName }} @if ($recruitment->number_of_vacancies) {{ $recruitment->number_of_vacancies }} Vacancy(s) @endif @if ($recruitment->expected_start_date) {{ $recruitment->expected_start_date }} @endif
Total Applicants
{{ $totalApplicants }}
New
{{ $newApplicants }}
Hired
{{ $hiredApplicants }}
Rejected
{{ $rejectedApplicants }}
Pending Offers
{{ $pendingOffers }}
Applicants Overview
Total applicants linked to this recruitment request: {{ $totalApplicants }}
{{ $jobTitleName }}
@foreach ($rows as $index => $applicant) {{ $index + 1 }}
{{ $applicant->full_name }}
{{ $applicant->assignedStaff->full_name ?? optional(optional($applicant->createdBy)->staff)->full_name ?? $applicant->createdBy->full_name ?? 'N/A' }}
{{ $applicant->email ?: 'N/A' }}
{{ $applicant->contact_number ?: 'N/A' }}
{{ $formatValue($applicant->source) }}
{{ $formatValue($applicant->current_status) }}
{{ $formatValue($applicant->screening_status) }}
{{ $formatValue($applicant->phone_call_status) }}
{{ $formatValue($applicant->offer_status) }} @if($applicant->candidateUser) @if($applicant->candidateUser->isCandidate()) Active @elseif($applicant->candidateUser->user_type === 'deactivated') Deactivated @elseif($applicant->candidateUser->isEmployee()) Upgraded @else {{ ucfirst($applicant->candidateUser->user_type) }} @endif @else — @endif
@endforeach
@endsection @push('styles') @endpush