@php $customLogo = \App\Models\Setting::get('logo_perusahaan'); $logoPath = $customLogo ? public_path('storage/' . $customLogo) : public_path('assets/images/logo.png'); @endphp @if(file_exists($logoPath)) Logo Perusahaan @endif

FORMULIR
DATA PRIBADI PELAMAR

@php $photoUrl = null; if(isset($applicant->documents['foto_3x4'])) { $photoUrl = public_path('storage/' . $applicant->documents['foto_3x4']); } elseif(isset($applicant->documents['foto_diri'])) { $photoUrl = public_path('storage/' . $applicant->documents['foto_diri']); } @endphp @if($photoUrl && file_exists($photoUrl)) Foto 3x4 @else
Foto
3x4
@endif
a.   Isilah dengan huruf cetak/kapital
b.   Beri garis bawah pada jawaban untuk pertanyaan pilihan
Jabatan yang dilamar : 1. {{ $applicant->vacancy->title ?? '................................................' }}
: 2. ................................................
IDENTITAS DIRI
Nama Lengkap : {{ $applicant->full_name }}
Jenis Kelamin : {{ $applicant->gender ?? '.......................................' }}
Tempat/Tanggal Lahir : {{ $applicant->birth_place }}, {{ $applicant->birth_date ? \Carbon\Carbon::parse($applicant->birth_date)->format('d F Y') : '.......................................' }}
Agama : {{ $applicant->religion ?? '.......................................' }}
Tinggi Badan : {{ $applicant->height ?? '......' }} cm                Berat Badan : {{ $applicant->weight ?? '......' }} Kg
Golongan Darah : {{ $applicant->other_data['blood_type'] ?? '......' }}
Alamat sesuai KTP : {{ $applicant->address ?? '.........................................................................................' }}
: Kel: {{ $applicant->other_data['kelurahan'] ?? '...................' }}, Kec: {{ $applicant->other_data['kecamatan'] ?? '...................' }}
: Kota: {{ $applicant->city ?? '...................' }}, Prov: {{ $applicant->province ?? '...................' }}, Kode Pos: {{ $applicant->postal_code ?? '...................' }}
No. Telp : {{ $applicant->other_data['phone'] ?? '....................................' }}
Alamat Email : {{ $applicant->other_data['email'] ?? '...................................................' }}
No. KTP : {{ $applicant->nik ?? '...................................................' }}
No. KK : {{ $applicant->other_data['nomor_kk'] ?? '...................................................' }}
Alamat tempat tinggal
Saat ini
: {{ $applicant->other_data['current_address'] ?? '.........................................................................................' }}
No. Telp (Rumah/Kerabat) : {{ $applicant->other_data['emergency_phone'] ?? '....................................' }}
Tempat tinggal saat ini milik : {{ $applicant->other_data['residence_ownership'] ?? 'sendiri/orang tua/kos/lainnya' }}
Status Pernikahan : {{ $applicant->other_data['marital_status'] ?? 'Belum Menikah / Menikah / Bercerai' }}
@if(($applicant->other_data['marital_status'] ?? '') == 'Menikah') : Sejak tanggal: {{ $applicant->other_data['marriage_date'] ?? '.......................................' }} @endif
Susunan Keluarga (Istri/Suami dan anak-anak)
@php $familyRaw = is_array($applicant->family_data) ? $applicant->family_data : []; $family = []; if (isset($familyRaw['core']) || isset($familyRaw['parents'])) { // New structure $mapping = [ 'suami_istri' => 'Suami/Istri', 'anak_1' => 'Anak 1', 'anak_2' => 'Anak 2', 'anak_3' => 'Anak 3', 'ayah' => 'Ayah', 'ibu' => 'Ibu' ]; foreach (['core', 'parents'] as $group) { if (!empty($familyRaw[$group])) { foreach ($familyRaw[$group] as $key => $member) { if (!empty($member['name'])) { $member['relationship'] = $mapping[$key] ?? ucwords(str_replace('_', ' ', $key)); $family[] = $member; } } } } } else { $family = $familyRaw; } $getFam = function($rel) use (&$family) { foreach($family as $k => $f) { if (stripos($f['relationship'] ?? '', $rel) !== false || ($rel == 'Suami/Istri' && in_array(strtolower($f['relationship'] ?? ''), ['suami', 'istri']))) { unset($family[$k]); return $f; } } return null; }; $labels1 = ['Suami/Istri', 'Anak 1', 'Anak 2', 'Anak 3', 'Anak 4', 'Anak 5']; @endphp @foreach($labels1 as $label) @php $d = $getFam($label); @endphp @endforeach
NAMA L/P TEMPAT/TANGGAL LAHIR PENDIDIKAN PEKERJAAN
{{ $label }} {{ $d['name'] ?? '' }} {{ $d['gender'] ?? '' }} {{ $d['birth_info'] ?? $d['birth_place_date'] ?? ($d['age'] ?? '') }} {{ $d['education'] ?? '' }} {{ $d['occupation'] ?? '' }}
Susunan Keluarga (Ayah, Ibu, Saudara Kandung, termasuk Saudara)
@php $labels2 = ['Ayah', 'Ibu', 'Anak 1', 'Anak 2', 'Anak 3', 'Anak 4', 'Anak 5']; @endphp @foreach($labels2 as $label) @php $d = $getFam($label); @endphp @endforeach
NAMA L/P TEMPAT/TANGGAL LAHIR PENDIDIKAN PEKERJAAN
{{ $label }} {{ $d['name'] ?? '' }} {{ $d['gender'] ?? '' }} {{ $d['birth_info'] ?? $d['birth_place_date'] ?? ($d['age'] ?? '') }} {{ $d['education'] ?? '' }} {{ $d['occupation'] ?? '' }}
RIWAYAT PENDIDIKAN
Pendidikan Formal (tuliskan 2 tingkat pendidikan formal terakhir)
@php $formalEd = $applicant->education_data['formal'] ?? []; if (!is_array($formalEd)) $formalEd = []; $levels = ['sd' => 'SD', 'smp' => 'SMP', 'sma' => 'SMA/SMK', 'd3' => 'D3', 's1' => 'S1', 's2' => 'S2']; $filledEdus = []; foreach ($levels as $key => $label) { if (!empty($formalEd[$key]['school'])) { $ed = $formalEd[$key]; $ed['label'] = $label; $filledEdus[] = $ed; } } // Keep the original order (SD -> SMP -> SMA -> D3 -> S1 -> S2) // But we only want the LAST 2 filled educations if (count($filledEdus) > 2) { $filledEdus = array_slice($filledEdus, -2); } // Pad with empty rows at the bottom until we have 2 rows while (count($filledEdus) < 2) { $filledEdus[] = []; } @endphp @foreach($filledEdus as $e) @endforeach
TINGKAT NAMA SEKOLAH JURUSAN TEMPAT TAHUN LULUS
/TIDAK
DARI SAMPAI
{{ $e['label'] ?? '' }} {{ $e['school'] ?? '' }} {{ $e['major'] ?? '' }} {{ $e['location'] ?? '' }} {{ $e['year_start'] ?? '' }} {{ $e['year_end'] ?? '' }} {{ $e['status'] ?? '' }}
Pendidikan Non Formal
@php $nonFormal = $applicant->education_data['non_formal'] ?? []; if (!is_array($nonFormal)) $nonFormal = []; $filledNonFormal = []; foreach ($nonFormal as $nf) { if (!empty($nf['course'])) { $filledNonFormal[] = $nf; } } while (count($filledNonFormal) < 3) { $filledNonFormal[] = []; } // If they have more than 3, we can either slice or show all, let's just show max 3 to keep layout $filledNonFormal = array_slice($filledNonFormal, 0, 3); @endphp @foreach($filledNonFormal as $nf) @endforeach
KURSUS/SEMINAR PENYELENGGARA TEMPAT WAKTU
DARI SAMPAI
{{ $nf['course'] ?? '' }} {{ $nf['organizer'] ?? '' }} {{ $nf['location'] ?? '' }} {{ $nf['year_start'] ?? '' }} {{ $nf['year_end'] ?? '' }}
Kemampuan Khusus (BS=Baik Sekali, B=Baik, C=Cukup, K=Kurang, KS=Kurang Sekali)
@php $skills = is_array($applicant->other_data['skills'] ?? null) ? $applicant->other_data['skills'] : [ ['name' => 'BAHASA', 'level' => ''], ['name' => 'KOMPUTER', 'level' => ''], ['name' => 'KEMAMPUAN LAIN', 'level' => ''] ]; $chk = function($level, $target) { return $level == $target ? '✓' : ''; }; @endphp @foreach($skills as $sk) @endforeach
KEMAMPUAN BS B C K KS
{{ strtoupper($sk['name'] ?? '') }} {!! $chk($sk['level'] ?? '', 'BS') !!} {!! $chk($sk['level'] ?? '', 'B') !!} {!! $chk($sk['level'] ?? '', 'C') !!} {!! $chk($sk['level'] ?? '', 'K') !!} {!! $chk($sk['level'] ?? '', 'KS') !!}
RIWAYAT PEKERJAAN
Uraikan riwayat pekerjaan Saudara mulai dari pekerjaan terakhir
@php $exp = is_array($applicant->experience_data) ? $applicant->experience_data : []; @endphp @for($i=0; $i<2; $i++) @php $ex = $exp[$i] ?? []; @endphp
NAMA & ALAMAT PERUSAHAAN JABATAN TAHUN GAJI JUMLAH
BAWAHAN
AWAL AKHIR .... s/d...... AWAL AKHIR
{{ $ex['company_info'] ?? '' }} {{ $ex['jabatan']['awal'] ?? '' }} {{ $ex['jabatan']['akhir'] ?? '' }} {{ isset($ex['periode']['awal']) ? $ex['periode']['awal'] . '-' . ($ex['periode']['akhir'] ?? '') : '' }} {{ $ex['gaji']['awal'] ?? '' }} {{ $ex['gaji']['akhir'] ?? '' }} {{ isset($ex['bawahan']['awal']) ? $ex['bawahan']['awal'] . '-' . ($ex['bawahan']['akhir'] ?? '') : '' }}
Prestasi Kerja : {{ $ex['prestasi_kerja'] ?? '' }}
Alasan Berhenti : {{ $ex['alasan_berhenti'] ?? '' }}
Uraian Tugas dan Tanggung Jawab :
{!! nl2br(e($ex['uraian_tugas'] ?? '')) !!}
@endfor
REFERENSI
@php $refs = $applicant->other_data['references'] ?? $applicant->other_data['referensi'] ?? []; if (!is_array($refs)) $refs = []; while(count($refs) < 2) $refs[] = []; @endphp @foreach(array_slice($refs, 0, 2) as $ref) @endforeach
NAMA ALAMAT LENGKAP & NO. TELEPON JABATAN HUBUNGAN
{{ $ref['name'] ?? $ref['nama'] ?? '' }} {{ $ref['address_phone'] ?? $ref['alamat'] ?? '' }} {{ $ref['position'] ?? $ref['jabatan'] ?? '' }} {{ $ref['relationship'] ?? $ref['hubungan'] ?? '' }}
AKTIVITAS SOSIAL & HOBBY
@php $acts = $applicant->other_data['social_activities'] ?? $applicant->other_data['aktivitas'] ?? []; if (!is_array($acts)) $acts = []; while(count($acts) < 3) $acts[] = []; @endphp @foreach(array_slice($acts, 0, 3) as $act) @endforeach
NAMA ORGANISASI JENIS KEGIATAN JABATAN TAHUN
{{ $act['organization'] ?? $act['organisasi'] ?? '' }} {{ $act['activity'] ?? $act['kegiatan'] ?? '' }} {{ $act['position'] ?? $act['jabatan'] ?? '' }} {{ $act['year'] ?? $act['tahun'] ?? '' }}
Sebutkan hobby dan kegiatan di waktu luang :
{{ $applicant->other_data['hobbies'] ?? $applicant->other_data['hobby'] ?? '' }}
LAIN - LAIN
@php $questionsData = $applicant->other_data['questions'] ?? []; $getAns = function($q_idx) use ($applicant, $questionsData) { if (!empty($questionsData) && isset($questionsData[$q_idx])) { return $questionsData[$q_idx]; } $ans = $applicant->other_data['q' . ($q_idx + 1)] ?? ''; $ket = $applicant->other_data['q' . ($q_idx + 1) . '_keterangan'] ?? ''; return ['answer' => $ans, 'note' => $ket]; }; @endphp @php $qa = $getAns(0); @endphp @php $qa = $getAns(1); @endphp @php $qa = $getAns(2); @endphp @php $qa = $getAns(3); @endphp @php $qa = $getAns(4); @endphp @php $qa = $getAns(5); @endphp @php $qa = $getAns(6); @endphp @php $qa = $getAns(7); @endphp @php $qa = $getAns(8); @endphp
PERTANYAAN JAWABAN KETERANGAN
YA TIDAK
Apakah saudara sebelumnya pernah melamar di Triputra Agro Persada Group? {!! strtolower($qa['answer']) == 'ya' ? '✓' : '' !!} {!! strtolower($qa['answer']) == 'tidak' ? '✓' : '' !!} {{ $qa['note'] }}
Apakah Saudara memiliki teman/keluarga/seseorang yang dikenal di perusahaan ini? Silahkan sebutkan. {!! strtolower($qa['answer']) == 'ya' ? '✓' : '' !!} {!! strtolower($qa['answer']) == 'tidak' ? '✓' : '' !!} {{ $qa['note'] }}
Apakah Saudara pernah menderita sakit keras/kecelakaan berat/operasi? Silahkan sebutkan kapan dan apa jenis sakit keras/kecelakaan/operasi {!! strtolower($qa['answer']) == 'ya' ? '✓' : '' !!} {!! strtolower($qa['answer']) == 'tidak' ? '✓' : '' !!} {{ $qa['note'] }}
Apabila diterima, bersediakah Saudara ditugaskan ke luar kota? {!! strtolower($qa['answer']) == 'ya' ? '✓' : '' !!} {!! strtolower($qa['answer']) == 'tidak' ? '✓' : '' !!} {{ $qa['note'] }}
Apabila diterima, bersediakah Saudara ditempatkan ke luar kota? {!! strtolower($qa['answer']) == 'ya' ? '✓' : '' !!} {!! strtolower($qa['answer']) == 'tidak' ? '✓' : '' !!} {{ $qa['note'] }}
Jenis pekerjaan apakah yang sesuai dengan cita-cita Saudara? {{ $qa['answer'] ?: $qa['note'] }}
Jenis pekerjaan bagaimana yang tidak Saudara sukai? {{ $qa['answer'] ?: $qa['note'] }}
Bila diterima, berapa permintaan gaji dan tunjangan yang Saudara harapkan? {{ $qa['answer'] ?: $qa['note'] }}
Bila diterima, kapan Saudara bisa mulai bekerja? {{ $qa['answer'] ?: $qa['note'] }}

Dengan ini Saya menyatakan bahwa keterangan yang saya tuliskan dalam "Formulir Data Pribadi Pelamar" adalah sesuai dengan keadaaan sebenarnya. Jika di kemudian hari ternyata terdapat ketidakbenaran, maka saya bertanggung jawab penuh atas akibatnya dan bersedia menerima konsekuensinya sesuai ketentuan yang berlaku.

{{ $applicant->other_data['signature_date'] ?? '................., ...........................' }}
@if(!empty($applicant->other_data['signature_image'])) @else
@endif
{{ $applicant->other_data['signature_name'] ?? ($applicant->full_name ?? '.........................................') }}