@extends('company.layouts.master') @section('title', 'Applicant') @section('page-title', 'Applicant Details') @section('breadcrumbs') @endsection @php($teal = 'background:#0d6e6e;') @push('page-styles') @endpush @section('content')
{{-- Header bar --}}

Applicant Details

Prev Next @if ($applicant->resume) Download PDF @endif @permission('applicants.edit')
@csrf @method('PUT')
@endpermission
{{-- Main column --}}
APPLIED FOR {{ $applicant->listing?->job_role ?? $applicant->position ?? '—' }}
{{-- Personal Info --}}
Personal Info
@if ($applicant->profile_image) photo @else
{{ strtoupper(substr($applicant->name ?? '?', 0, 1)) }}
@endif
Name: {{ $applicant->name ?? '—' }}
Email: {{ $applicant->email ?? '—' }}
Phone: {{ $applicant->phone ?? '—' }}
Gender: {{ $applicant->gender ?? '—' }}
Address: {{ $applicant->address ?? '—' }}
Source: {{ $applicant->source ?? '—' }}
{{-- Documents & Videos --}}
Documents & Videos
@if ($applicant->resume) View Resume @else Resume Not Uploaded @endif @if ($applicant->intro_video) Intro Video @else Intro Video Not Uploaded @endif @if ($applicant->screening_video) Screening Video @else Screening Video Not Uploaded @endif @if ($applicant->portfolio) Portfolio File @else Portfolio File Not Uploaded @endif @if ($applicant->portfolio_url) Portfolio URL @else Portfolio URL Not Provided @endif
{{-- Education --}}
Education
@if (! empty($applicant->education)) @foreach ($applicant->education as $edu) @endforeach
SchoolProgram / DegreeStartEnd
{{ $edu['school'] ?? '—' }} {{ $edu['program'] ?? ($edu['degree'] ?? '—') }} {{ $edu['startDate'] ?? '—' }} {{ $edu['endDate'] ?? '—' }}
@else

No education details provided.

@endif
{{-- Application answers --}} @if (! empty($applicant->answers))
Answered Questions
@foreach ($applicant->answers as $key => $value) @endforeach
{{ is_string($key) ? $key : ($value['question'] ?? 'Q'.$loop->iteration) }} {{ is_array($value) ? ($value['answer'] ?? json_encode($value)) : $value }}
@endif
{{-- Activity chat panel --}}
Activity Chat — {{ $applicant->name ?? 'Applicant' }}
📎
@endsection @push('page-scripts') @endpush