Applications Details
@if ($application->converted_to_talent_pool_id)
This application has been converted to a talent pool entry
View Talent Pool Entry →
@endif {{-- ARCHIVE FEATURE REMOVED @if ($application->archived)
This application is archived
@csrf
@else --}} {{-- @endif --}}

Applicant Information

{{ $application->full_name }}

@if ($application->email) {{ $application->email }} @else - @endif

{{ $application->phone ?? '-' }}

@if ($application->phone) @php $phone = preg_replace('/^0/', '62', $application->phone); @endphp @endif

{{ ucfirst($application->gender) }}

{{ $application->years_of_experience }}

{{ ucfirst($application->current_industry) }}

{{ ucfirst($application->source) }}

@if ($application->resume_path) @endif
@if ($application->bio)
{{-- Personal Identity --}}

Personal Information

{{ $application->bio['nickname'] ?? '-' }}

{{ $application->bio['place_of_birth'] ?? '-' }}

@php $dob = $application->bio['date_of_birth'] ?? null; @endphp

@if ($dob) @php $diff = \Carbon\Carbon::parse($dob)->diff( \Carbon\Carbon::now(), ); @endphp {{ $dob }} ({{ $diff->y }} year {{ $diff->d }} day) @else - @endif

{{ $application->bio['religion'] ?? '-' }}

{{ $application->bio['blood_type'] ?? '-' }}

{{ ucfirst($application->bio['marital_status'] ?? '-') }}

{{ $application->bio['citizenship'] ?? '-' }}

{{ $application->bio['mobile_phone'] ?? '-' }}

{{ $application->bio['ktp_number'] ?? '-' }}

{{ $application->bio['sim'] ?? '-' }}

{{ $application->bio['passport'] ?? '-' }}

{{ $application->bio['address_street'] ?? '-' }} @if ($application->bio['address_rt_rw'] ?? false) , RT/RW {{ $application->bio['address_rt_rw'] }} @endif

{{ $application->bio['kelurahan'] ?? '' }}@if ($application->bio['kecamatan'] ?? false) , {{ $application->bio['kecamatan'] }} @endif @if ($application->bio['city'] ?? false) , {{ $application->bio['city'] }} @endif @if ($application->bio['province'] ?? false) , {{ $application->bio['province'] }} @endif @if ($application->bio['postal_code'] ?? false) {{ $application->bio['postal_code'] }} @endif

{{-- Social Media --}} @if (!empty($application->bio['social_media']))

Social Media

@foreach ($application->bio['social_media'] as $social) @php $type = strtolower($social['type'] ?? ''); $username = $social['username'] ?? ''; $platforms = [ 'facebook' => [ 'icon' => 'fab fa-facebook text-blue-600', 'url' => 'https://facebook.com/' . ltrim($username, '@'), 'label' => 'Facebook', ], 'instagram' => [ 'icon' => 'fab fa-instagram text-pink-500', 'url' => 'https://instagram.com/' . ltrim($username, '@'), 'label' => 'Instagram', ], 'linkedin' => [ 'icon' => 'fab fa-linkedin text-blue-700', 'url' => 'https://linkedin.com/in/' . ltrim($username, '@'), 'label' => 'LinkedIn', ], 'tiktok' => [ 'icon' => 'fab fa-tiktok text-black', 'url' => 'https://www.tiktok.com/@' . ltrim($username, '@'), 'label' => 'TikTok', ], 'x' => [ 'icon' => 'fab fa-x-twitter text-black', 'url' => 'https://x.com/' . ltrim($username, '@'), 'label' => 'Twitter / X', ], ]; $platform = $platforms[$type] ?? null; @endphp
@if($platform)
{{ $platform['label'] }}
@else

-

@endif
@if($platform && $username) {{ $username }} @else

-

@endif
@endforeach
@endif {{-- Family Data --}} @if (!empty($application->bio['family_data']))

Family

@foreach ($application->bio['family_data'] as $family)

{{ $family['relationship'] ?? '-' }}

{{ $family['name'] ?? '-' }}

{{ $family['age'] ?? '-' }}

{{ $family['occupation'] ?? '-' }}

{{ $family['address'] ?? '-' }}

@endforeach
@endif {{-- Siblings --}} @if (!empty($application->bio['siblings']))

Siblings

@foreach ($application->bio['siblings'] as $sibling)

{{ $sibling['order'] ?? '-' }}

{{ $sibling['name'] ?? '-' }}

{{ $sibling['age'] ?? '-' }}

{{ $sibling['occupation'] ?? '-' }}

{{ $sibling['address'] ?? '-' }}

@endforeach
@endif {{-- Children --}} @if (!empty($application->bio['children']))

Children

@foreach ($application->bio['children'] as $child)

{{ $child['order'] ?? '-' }}

{{ $child['name'] ?? '-' }}

{{ $child['age'] ?? '-' }}

{{ $child['occupation'] ?? '-' }}

{{ $child['address'] ?? '-' }}

@endforeach
@endif {{-- Other Info --}}

Other Information

{{ ucfirst($application->bio['has_vehicle'] ?? '-') }}

{{ ucfirst($application->bio['ever_had_accident'] ?? '-') }}

{{ $application->bio['permanent_illness'] ?? '-' }}

{{ $application->bio['accident_description'] ?? '-' }}

{{ $application->bio['strengths'] ?? '-' }}

{{ $application->bio['weaknesses'] ?? '-' }}

{{ ucfirst($application->bio['willingness'] ?? '-') }}

@if (!empty($application->bio['vehicles']))
@foreach ($application->bio['vehicles'] as $vehicle)

{{ ucfirst($vehicle['type'] ?? '-') }}

{{ $vehicle['brand'] ?? '-' }}

{{ $vehicle['model'] ?? '-' }}

{{ $vehicle['year'] ?? '-' }}

{{ $vehicle['plate_number'] ?? '-' }}

@endforeach
@endif
{{-- Known Employees --}} @if (!empty($application->bio['known_employees']))

Known Employees

@foreach ($application->bio['known_employees'] as $emp)

{{ $emp['name'] ?? '-' }}

{{ $emp['relationship'] ?? '-' }}

@endforeach
@endif {{-- Formal Education --}} @if (!empty($application->bio['formal_education']))

Formal Education

@foreach ($application->bio['formal_education'] as $edu)

{{ $edu['level'] ?? '-' }}

{{ $edu['school'] ?? '-' }}

{{ $edu['city'] ?? '-' }}

{{ $edu['year'] ?? '-' }}

{{ $edu['major'] ?? '-' }}

@endforeach
@endif {{-- Certifications --}} @if (!empty($application->bio['certifications']))

Certifications

@foreach ($application->bio['certifications'] as $cert)

{{ $cert['seminar_name'] ?? '-' }}

{{ $cert['city'] ?? '-' }}

{{ $cert['year'] ?? '-' }}

@endforeach
@endif {{-- Work Experience --}} @if (!empty($application->bio['work_experience']))

Work Experience

@foreach ($application->bio['work_experience'] as $work)

{{ $work['company_name'] ?? '-' }}

{{ $work['main_product'] ?? '-' }}

{{ $work['company_type'] ?? '-' }}

{{ $work['business_field'] ?? '-' }}

{{ $work['company_address'] ?? '-' }}

{{ $work['company_phone'] ?? '-' }}

{{ $work['company_leader_name'] ?? '-' }}

{{ $work['last_position'] ?? '-' }}

{{ $work['duration_years'] ?? '-' }} years

{{ $work['start_date'] ?? '-' }}

{{ $work['end_date'] ?? '-' }}

Rp {{ number_format($work['basic_salary'] ?? 0) }}

Rp {{ number_format($work['position_allowance'] ?? 0) }}

Rp {{ number_format($work['health_allowance'] ?? 0) }}

{{ $work['reason_for_leaving'] ?? '-' }}

{{ $work['job_description'] ?? '-' }}

@endforeach
@endif {{-- Foreign Languages --}} @if (!empty($application->bio['foreign_languages']))

Foreign Languages

@foreach ($application->bio['foreign_languages'] as $lang)

{{ $lang['language'] ?? '-' }}

{{ ucfirst($lang['proficiency'] ?? '-') }}

@endforeach
@endif {{-- References --}} @if (!empty($application->bio['references']))

References

@foreach ($application->bio['references'] as $ref)

{{ $ref['name'] ?? '-' }}

{{ $ref['address'] ?? '-' }}

{{ $ref['phone'] ?? '-' }}

@endforeach
@endif {{-- Desired Facilities --}}

Desired Facilities

{{ $application->bio['desired_facilities'] ?? '-' }}

{{-- Photo --}} @if (!empty($application->bio['photo']))

Photo

Applicant Photo
@endif
@endif

Applied Position

{{ $application->job?->title ?? 'Deleted Job Posting' }}

{{ $application->job?->department ?? 'Deleted Job Posting' }}

{{ $application->job?->location ?? 'Deleted Job Posting' }}

Interviews

@can('schedule interview') @endcan
@if ($application->interviews->count() > 0)
@foreach ($application->interviews as $interview)

{{ $interview->type == 'basic-competency-test' ? 'Basic Competency Test' : ucfirst($interview->type) }} on {{ $interview->interview_date->format('M j, Y') }} at {{ $interview->interview_time->format('h:i A') }}

Status: {{ ucfirst($interview->status) }} @if ($interview->interviewers()->isNotEmpty()) • Interviewer: {{ $interview->interviewers()->pluck('name')->implode(', ') }} @endif

@csrf @method('DELETE')
@if ($interview->notes)

{{ $interview->notes }}

@endif @if ($interview->meeting_link)

Meeting Link

@endif
@endforeach
@else

No interviews scheduled for this application

@endif

Basic Competency Test

@can('perform test') @endcan
@if ($application->basicCompetencyTests->count() > 0)
@foreach ($application->basicCompetencyTests as $assessment)

Examiner

{{ $assessment->examiner_name ?? '-' }}

Date

{{ $assessment->assessment_date?->format('M j, Y') }}

Average Score

{{ number_format($assessment->total_score, 2) }} / 100

Rating

@php $rating = $assessment->getRatingLabel(); @endphp {{ $rating['label'] }}
@csrf @method('DELETE')

Perseptual

{{ $assessment->score_perseptual ?? 0 }}

Ketelitian

{{ $assessment->score_ketelitian ?? 0 }}

Verbal

{{ $assessment->score_verbal ?? 0 }}

Numerik

{{ $assessment->score_numerik ?? 0 }}

Logika

{{ $assessment->score_logika ?? 0 }}

@if ($assessment->notes)

{{ $assessment->notes }}

@endif
@endforeach
@else

No assessments yet.

@endif

Interview Assessment

{{-- @can('perform test') --}} {{-- @endcan --}}
@if ($application->interviewAssessments->count() > 0)
@foreach ($application->interviewAssessments as $assessment)

Interviewer

{{ $assessment->interviewer_name ?? '-' }}

Date

{{ $assessment->assessment_date?->format('M j, Y') }}

Total Score

{{ $assessment->total_score ?? 0 }} / 220

Rating

@php $rating = $assessment->getRatingLabel(); @endphp {{ $rating['label'] }}
@csrf @method('DELETE')
@if ($assessment->notes)

{{ $assessment->notes }}

@endif
@endforeach
@if ($application->interviewAssessments->count() > 1)

Average Score

{{ round($application->interviewAssessments->avg('total_score')) }} / 220

@endif
@else

No assessments yet.

@endif

Applicant Files

@can('upload applicant files') @endcan
@if ($application->files->count() > 0)
@foreach ($application->files as $file)

Title

{{ $file->title }}

Uploaded

{{ $file->created_at->format('M j, Y') }}

Download
@csrf @method('DELETE')
@endforeach
@else

No files uploaded yet.

@endif

Status History

@if ($application->statusHistories->count() > 0)
@foreach ($application->statusHistories as $history)
@if ($history->changedBy) {{ $history->changedBy->name }} @else
@endif

@if ($history->from_status) Changed from {{ ucfirst($history->from_status) }} to {{ ucfirst($history->to_status) }} @else Application status set to {{ ucfirst($history->to_status) }} @endif

{{ $history->changed_at->format('M j, Y \a\t g:i A') }} @if ($history->changedBy) • by {{ $history->changedBy->name }} @endif

@if ($history->notes)

{{ $history->notes }}

@endif
@endforeach
@else

No status history available

@endif

Actions

{{-- --}}
@if (!$application->converted_to_talent_pool_id)
@csrf
@endif @if ($application->resume_path) @endif Print Applicant

Status

@php $statusLabel = $application->getStatusLabel(); $statusBadgeColor = 'bg-gray-100 text-gray-800'; if ($statusLabel['color'] === 'success') { $statusBadgeColor = 'bg-green-100 text-green-800'; } elseif ($statusLabel['color'] === 'warning') { $statusBadgeColor = 'bg-yellow-100 text-yellow-800'; } elseif ($statusLabel['color'] === 'danger') { $statusBadgeColor = 'bg-red-100 text-red-800'; } elseif ($statusLabel['color'] === 'secondary') { $statusBadgeColor = 'bg-gray-100 text-gray-800'; } @endphp {{ $statusLabel['label'] }} @can('set application status')
@csrf @method('PUT')

Notes are required when rejecting an application.

@else
{{ $application->getStatusLabel()['label'] }}
@endcan

Stage

@php $stageLabel = $application->getStageLabel(); $badgeColor = 'bg-gray-100 text-gray-800'; if ($stageLabel['color'] === 'primary') { $badgeColor = 'bg-blue-100 text-blue-800'; } elseif ($stageLabel['color'] === 'success') { $badgeColor = 'bg-green-100 text-green-800'; } elseif ($stageLabel['color'] === 'warning') { $badgeColor = 'bg-yellow-100 text-yellow-800'; } elseif ($stageLabel['color'] === 'danger') { $badgeColor = 'bg-red-100 text-red-800'; } @endphp {{ $stageLabel['label'] }} {{--
@csrf @method('PUT')
--}}

Salary Information

@if ($application->current_salary)

Rp {{ number_format($application->current_salary, 0, ',', '.') }}

@else

Not specified

@endif
@if ($application->expected_salary)

Rp {{ number_format($application->expected_salary, 0, ',', '.') }}

@else

Not specified

@endif

Application Details

#{{ $application->id }}

{{ $application->applied_at->format('M j, Y \a\t g:i A') }}

{{ $application->updated_at->diffForHumans() }}

@can('generate application link')

Form Links

Personal Info
@if ($application->form_token)

Expires: {{ \Carbon\Carbon::parse($application->form_expires_at)->format('M j, Y \a\t H:i') }}

@else

No link generated yet

@endif
Basic Competency Test
@if ($application->competency_test_token)

Expires: {{ \Carbon\Carbon::parse($application->competency_test_expires_at)->format('M j, Y \a\t H:i') }}

@else

No link generated yet

@endif
Interview Assessment
@if ($application->interview_assessment_token)

Expires: {{ \Carbon\Carbon::parse($application->interview_assessment_expires_at)->format('M j, Y \a\t H:i') }}

@else

No link generated yet

@endif
@endcan
@push('scripts') @endpush