@extends('layouts.main') @section('title', 'Applicant Detail') @section('css') @php $dashboardCssPath = public_path('assets/css/dashboard.css'); $dashboardCssVersion = file_exists($dashboardCssPath) ? filemtime($dashboardCssPath) : time(); @endphp @endsection @section('navbarTitle', 'Applicant Detail') @section('content') @php $photoUrl = $applicant->photoUrl(); $cvUrl = $applicant->cvDownloadUrl(); $initials = collect(explode(' ', $applicant->full_name)) ->filter() ->take(2) ->map(fn (string $name): string => strtoupper(substr($name, 0, 1))) ->implode(''); $whatsAppUrl = $applicant->whatsAppUrl(); @endphp
@if ($photoUrl) {{ $applicant->full_name }} @else
{{ $initials ?: 'A' }}
@endif

{{ $applicant->full_name }}

{{ $applicant->jobVacancy?->name ?? '-' }} | {{ $applicant->statusLabel() }}

{{ $applicant->email ?? '-' }} {{ $applicant->phone ?? '-' }} {{ collect([$applicant->place_of_birth, $applicant->date_of_birth])->filter()->implode(', ') ?: '-' }}
Personal Data
Email

{{ $applicant->email ?? '-' }}

@if ($applicant->email) Mailto @endif
Phone

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

@if ($whatsAppUrl) WhatsApp @endif
Nickname

{{ $applicant->nickname ?? '-' }}

Birth

{{ collect([$applicant->place_of_birth, $applicant->date_of_birth])->filter()->implode(', ') ?: '-' }}

Gender

{{ $applicant->gender?->name ?? '-' }}

Marital Status

{{ $applicant->maritalStatus?->name ?? '-' }}

Expected Salary

{{ $applicant->expected_salary ?? '-' }}

Applied At

{{ $applicant->created_at?->format('d M Y H:i') ?? '-' }}

Address

{{ $applicant->address ?? '-' }}

Self Resume

{{ $applicant->self_resume ?? '-' }}

Education
@forelse ($applicant->educations as $education)
{{ $education->educationLevel?->name ?? 'Education' }} @if ($education->institution) - {{ $education->institution }} @endif
{{ collect([$education->start_period, $education->graduate_period])->filter()->implode(' - ') ?: '-' }}

{{ collect([$education->department, $education->gpa ? 'GPA '.$education->gpa : null])->filter()->implode(' - ') ?: '-' }}

@empty

No education data.

@endforelse
Work Experience
@forelse ($applicant->workExperiences as $experience)
{{ $experience->company_name ?? 'Work Experience' }} @if ($experience->role) - {{ $experience->role }} @endif
{{ collect([$experience->start_period, $experience->end_period])->filter()->implode(' - ') ?: '-' }}

{{ $experience->company_location ?? '-' }}

@empty

No work experience data.

@endforelse
Files and Links
@endsection