@extends('layouts.admin') @section('title', 'Detail Pelamar') @section('page-title', 'Detail Pelamar') @section('page-subtitle', $applicant->full_name) @section('content')
Kembali Ubah Status Download Excel Download PDF
{{-- Status Banner --}}
{{ $applicant->full_name }}
NIK: {{ $applicant->nik }} ยท Lowongan: {{ $applicant->vacancy->title ?? '-' }} @if(!empty($applicant->vacancy->department)) ({{ $applicant->vacancy->department }}) @endif
@switch($applicant->status) @case('TERKIRIM') โณ Terkirim @break @case('PROSES') ๐Ÿ”„ Dalam Proses @break @case('DITERIMA') โœ… Diterima @break @case('DITOLAK') โŒ Ditolak @break @default {{ $applicant->status }} @endswitch
{{ $applicant->created_at->format('d M Y, H:i') }}
{{-- ========== STEP 1: IDENTITAS DIRI ========== --}}
1
Identitas Diri
Data pribadi pelamar
Nama Lengkap
{{ $applicant->full_name }}
Jenis Kelamin
{{ $applicant->gender ?? '-' }}
Golongan Darah
{{ $applicant->other_data['blood_type'] ?? '-' }}
Tempat Lahir
{{ $applicant->birth_place ?? '-' }}
Tanggal Lahir
{{ $applicant->birth_date ? $applicant->birth_date->format('d M Y') : '-' }}
Agama
{{ $applicant->religion ?? '-' }}
Tinggi Badan
{{ $applicant->height ? $applicant->height . ' cm' : '-' }}
Berat Badan
{{ $applicant->weight ? $applicant->weight . ' kg' : '-' }}
Alamat Sesuai KTP
{{ $applicant->address ?? '-' }}
Kota / Kabupaten
{{ $applicant->city ?? '-' }}
Provinsi
{{ $applicant->province ?? '-' }}
Kode Pos
{{ $applicant->postal_code ?? '-' }}
Email
{{ $applicant->email ?? '-' }}
No Handphone
{{ $applicant->phone ?? '-' }}
Nomor KK
{{ $applicant->other_data['no_kk'] ?? '-' }}
Nomor KTP
{{ $applicant->nik ?? '-' }}
Alamat Tinggal Saat Ini
{{ $applicant->other_data['current_address'] ?? $applicant->address ?? '-' }}
No Telepon Rumah/Kerabat
{{ $applicant->other_data['home_phone'] ?? '-' }}
Tempat Tinggal Milik
{{ $applicant->other_data['residence_owner'] ?? '-' }}
Status Pernikahan
{{ $applicant->other_data['marital_status'] ?? '-' }}
Sejak Tanggal
{{ $applicant->other_data['marital_date'] ?? '-' }}
{{-- ========== STEP 2: IDENTITAS KELUARGA ========== --}}
2
Identitas Keluarga
Susunan keluarga pelamar
@if(!empty($applicant->family_data) && is_array($applicant->family_data))
@foreach($applicant->family_data as $member) @if(!empty($member['name'])) @endif @endforeach
Keluarga Nama L/P Tempat / Tgl Lahir Pendidikan Pekerjaan No Telepon
{{ $member['relationship'] ?? '-' }} {{ $member['name'] ?? '-' }} {{ $member['gender'] ?? '-' }} {{ $member['birth_place_date'] ?? ($member['age'] ?? '-') }} {{ $member['education'] ?? '-' }} {{ $member['occupation'] ?? '-' }} {{ $member['phone'] ?? '-' }}
@else

Tidak ada data keluarga.

@endif
{{-- ========== STEP 3: RIWAYAT PENDIDIKAN ========== --}}
3
Riwayat Pendidikan
Pendidikan formal & non formal
@if(!empty($applicant->education_data) && is_array($applicant->education_data))
@foreach($applicant->education_data as $ed) @endforeach
Tingkat Nama Sekolah Jurusan Tempat Dari Sampai Lulus IPK
{{ $ed['level'] ?? $ed['degree'] ?? '-' }} {{ $ed['institution'] ?? '-' }} {{ $ed['major'] ?? '-' }} {{ $ed['location'] ?? '-' }} {{ $ed['year_start'] ?? '-' }} {{ $ed['year_end'] ?? $ed['year'] ?? '-' }} @if(($ed['graduated'] ?? '') == 'Lulus') Lulus @else {{ $ed['graduated'] ?? '-' }} @endif {{ $ed['gpa'] ?? '-' }}
@else

Tidak ada data pendidikan.

@endif
{{-- ========== STEP 4: RIWAYAT PEKERJAAN ========== --}}
4
Riwayat Pekerjaan
Pengalaman kerja sebelumnya
@if(!empty($applicant->experience_data) && is_array($applicant->experience_data)) @foreach($applicant->experience_data as $i => $exp)
{{ $i + 1 }} Pekerjaan Ke-{{ $i + 1 }}
Nama & Alamat Perusahaan
{!! nl2br(e($exp['company'] ?? '-')) !!}
Jabatan
{{ is_array($exp['positions'] ?? null) ? implode(', ', array_filter($exp['positions'])) : ($exp['position'] ?? '-') }}
Periode
{{ is_array($exp['periods'] ?? null) ? implode(', ', array_filter($exp['periods'])) : ($exp['duration'] ?? '-') }}
Gaji Akhir
{{ is_array($exp['salaries'] ?? null) ? implode(', ', array_filter($exp['salaries'])) : ($exp['salary'] ?? '-') }}
Jumlah Bawahan
{{ is_array($exp['subordinates'] ?? null) ? implode(', ', array_filter($exp['subordinates'])) : '-' }}
Alasan Berhenti
{{ $exp['reason_leave'] ?? '-' }}
Uraian Tugas dan Tanggung Jawab
{{ $exp['responsibilities'] ?? $exp['description'] ?? '-' }}
@endforeach @else

Tidak ada pengalaman kerja.

@endif
{{-- ========== STEP 5: LAIN-LAIN ========== --}} @php $other = is_array($applicant->other_data) ? $applicant->other_data : []; @endphp
5
Lain-lain
Aktivitas sosial, referensi, kontak darurat
{{-- Aktivitas Sosial --}} @if(!empty($other['social_activities']))
@foreach($other['social_activities'] as $sa) @endforeach
Nama OrganisasiJenis KegiatanJabatanTahun
{{ $sa['organization'] ?? '-' }} {{ $sa['activity'] ?? '-' }} {{ $sa['position'] ?? '-' }} {{ $sa['year'] ?? '-' }}
@else

Tidak ada data organisasi.

@endif
Hobby & Kegiatan Waktu Luang:
{{ $other['hobbies'] ?? '-' }}
{{-- Referensi --}} @if(!empty($other['references']))
@foreach($other['references'] as $ref) @endforeach
NamaAlamat & No TeleponJabatanHubungan
{{ $ref['name'] ?? '-' }} {{ $ref['address_phone'] ?? '-' }} {{ $ref['position'] ?? '-' }} {{ $ref['relationship'] ?? '-' }}
@endif {{-- Kontak Darurat --}} @if(!empty($other['emergency_contacts']))
@foreach($other['emergency_contacts'] as $ec) @endforeach
NamaAlamatNo TeleponHubungan
{{ $ec['name'] ?? '-' }} {{ $ec['address'] ?? '-' }} {{ $ec['phone'] ?? '-' }} {{ $ec['relationship'] ?? '-' }}
@endif {{-- Pertanyaan --}} @if(!empty($other['questions']))
@foreach($other['questions'] as $q) @endforeach
PertanyaanYATIDAKKeterangan
{{ $q['question'] ?? '-' }} @if(($q['answer'] ?? '') == 'ya') @endif @if(($q['answer'] ?? '') == 'tidak') @endif {{ $q['note'] ?? '-' }}
@endif
{{-- ========== STEP 6: DOKUMEN ========== --}}
6
Dokumen Lampiran
File dokumen yang diupload pelamar
@if(!empty($applicant->documents) && is_array($applicant->documents))
@php $docIcons = ['kartu_keluarga'=>'fa-id-card','ktp'=>'fa-address-card','ijazah_terakhir'=>'fa-certificate','surat_lamaran'=>'fa-envelope-open-text','npwp'=>'fa-receipt','buku_rekening_bni'=>'fa-university','foto_3x4'=>'fa-camera']; @endphp @foreach($applicant->documents as $key => $path)
@php $docName = ucwords(str_replace('_', ' ', $key)); if (is_numeric($key)) { $docName = "Dokumen " . ((int)$key + 1); } @endphp
{{ $docName }}
Unduh / Lihat
@endforeach
@else

Belum ada dokumen.

@endif
@endsection