Manajemen Kandidat Kandidat
Filter & Pencarian
Daftar Kandidat
Total: {{ $candidates->total() }} kandidat| No | Kode | Kandidat | Posisi | Status | Tgl Apply | Gaji Harapan | Skor Kraeplin | Tipe DISC | Aksi | |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $candidates->firstItem() + $index }} | {{ $candidate->candidate_code }} |
@php
$photoDocument = $candidate->documentUploads->where('document_type', 'photo')->first();
@endphp
@if($photoDocument)
{{ $candidate->full_name ?? 'N/A' }}
{{ $candidate->email ?? 'N/A' }}
|
{{ $candidate->position_applied }} | {{ \App\Models\Candidate::getStatusOptions()[$candidate->application_status] ?? ucfirst($candidate->application_status) }} | {{ $candidate->created_at->format('d M Y') }} | @if($candidate->expected_salary) Rp {{ number_format($candidate->expected_salary, 0, ',', '.') }} @else Tidak disebutkan @endif |
@if($candidate->kraeplinTestResult)
{{ $candidate->kraeplinTestResult->overall_score ?? 0 }}
@if($candidate->kraeplinTestResult->performance_category)
{{ ucfirst($candidate->kraeplinTestResult->performance_category) }}
@endif
@else
Belum test
@endif
|
@if($candidate->disc3DResult && $candidate->disc3DResult->primary_type)
{{ strtoupper($candidate->disc3DResult->primary_type) }}
@if($candidate->disc3DResult->primary_percentage)
{{ round($candidate->disc3DResult->primary_percentage) }}%
@endif
@else
Belum test
@endif
|
|
|
{{ $candidates->firstItem() ?? 0 }} - {{ $candidates->lastItem() ?? 0 }}
dari {{ $candidates->total() }} kandidat
@if($candidates->currentPage() > 1)
@else
@endif
@if($candidates->previousPageUrl())
@else
@endif
@php
$start = max(1, $candidates->currentPage() - 2);
$end = min($candidates->lastPage(), $candidates->currentPage() + 2);
if ($candidates->currentPage() <= 3) {
$end = min($candidates->lastPage(), 5);
}
if ($candidates->currentPage() > $candidates->lastPage() - 3) {
$start = max(1, $candidates->lastPage() - 4);
}
@endphp
@if($start > 1)
1
@if($start > 2)
@endif
@endif
@for($page = $start; $page <= $end; $page++)
@if($page == $candidates->currentPage())
@else
{{ $page }}
@endif
@endfor
@if($end < $candidates->lastPage())
@if($end < $candidates->lastPage() - 1)
@endif
{{ $candidates->lastPage() }}
@endif
@if($candidates->nextPageUrl())
@else
@endif
@if($candidates->currentPage() < $candidates->lastPage())
@else
@endif