Applications Management

Filter Applications

@php $savedFilters = old('filters', request()->input('filters', [])); $isDateField = fn($f) => in_array($f, ['applied_at']); $isTextField = fn($f) => in_array($f, ['email']); @endphp @foreach ($savedFilters as $i => $filter) @php $field = $filter['field'] ?? ''; $op = $filter['op'] ?? '='; $val = $filter['value'] ?? ''; $val2 = $filter['value2'] ?? ''; @endphp
@if ($field === 'job') @elseif ($field === 'stage') @elseif ($field === 'status') @elseif ($field === 'reviewed') @elseif ($field === 'location') @elseif ($field === 'job_status') @elseif ($field === 'department') @elseif ($field === 'applied_at') @if ($op === '<=')
@else
@endif @else @endif
@endforeach
@if (request('search') || request('filters')) Clear Filters @endif

Showing {{ $applications->count() }} of {{ $applications->total() }} applications

Applications List

@if ($applications->count() > 0) Page {{ $applications->currentPage() }} of {{ $applications->lastPage() }} @endif
@forelse($applications as $application) @php $statusLabel = $application->getStatusLabel(); $stageLabel = $application->getStageLabel(); $statusColors = [ 'success' => 'bg-emerald-50 text-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-300', 'warning' => 'bg-amber-50 text-amber-700 dark:bg-amber-900/30 dark:text-amber-300', 'danger' => 'bg-red-50 text-red-700 dark:bg-red-900/30 dark:text-red-300', 'secondary' => 'bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300', ]; $stageColors = [ 'success' => 'bg-blue-50 text-blue-700 dark:bg-blue-900/30 dark:text-blue-300', 'warning' => 'bg-purple-50 text-purple-700 dark:bg-purple-900/30 dark:text-purple-300', 'danger' => 'bg-orange-50 text-orange-700 dark:bg-orange-900/30 dark:text-orange-300', ]; $statusClass = $statusColors[$statusLabel['color']] ?? 'bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300'; $stageClass = $stageColors[$stageLabel['color']] ?? 'bg-indigo-50 text-indigo-700 dark:bg-indigo-900/30 dark:text-indigo-300'; @endphp @empty @endforelse
Applicant Position Progress AI Score Applied Actions
{{ $application->email }}
{{ $application->phone ?? '-' }}
{{ $application->job?->title ?? 'Deleted Job' }}
{{ $application->job?->location ?? '-' }}
{{ $application->job?->department ?? '-' }}
{{ $statusLabel['label'] }}
{{ $stageLabel['label'] }}
@php $hasBio = $application->bio && count($application->bio) > 0; $hasInterview = $application->interviewAssessments->isNotEmpty(); $hasTest = $application->basicCompetencyTests->isNotEmpty(); $hasAny = $hasBio || $hasInterview || $hasTest; @endphp @if ($hasAny)
@if ($hasBio) Bio @endif @if ($hasBio && ($hasInterview || $hasTest))
@endif @if ($hasInterview) Interview @endif @if (($hasBio || $hasInterview) && $hasTest)
@endif @if ($hasTest) Test @endif
@endif
@php $skorCocok = $application->ai_analysis['skor_cocok'] ?? null; @endphp @if ($skorCocok !== null) @php if ($skorCocok >= 70) { $scoreClass = 'bg-green-100 text-green-800 dark:bg-green-900/50 dark:text-green-300'; } elseif ($skorCocok >= 40) { $scoreClass = 'bg-yellow-100 text-yellow-800 dark:bg-yellow-900/50 dark:text-yellow-300'; } else { $scoreClass = 'bg-red-100 text-red-800 dark:bg-red-900/50 dark:text-red-300'; } @endphp @else - @endif
{{ $application->applied_at->format('j M Y') }}
{{ $application->applied_at->diffForHumans() }}
{{-- --}} @if ($application->resume_path) @endif

No applications found

Try adjusting your search criteria.

Clear Filters
@if ($applications->hasPages())
{{ $applications->links() }}
@endif