@extends('layouts.app') @section('title', $applicant->full_name) @section('page-title','Recruitment') @section('content')
{{ strtoupper(substr($applicant->first_name,0,1).substr($applicant->last_name,0,1)) }}
{{ $applicant->full_name }}
{{ $applicant->applicant_number }}
@if($applicant->employee_id) Hired @else In Applicant Pool @endif
{{ $applicant->email }}
@if($applicant->phone)
{{ $applicant->phone }}
@endif @if($applicant->nationality)
{{ $applicant->nationality }}
@endif @if($applicant->highest_qualification)
{{ $applicant->qualification_label }}
@endif @if($applicant->field_of_study)
{{ $applicant->field_of_study }}
@endif @if($applicant->years_of_experience)
{{ $applicant->years_of_experience }} years experience
@endif @if($applicant->current_position)
{{ $applicant->current_position }}@if($applicant->current_employer) at {{ $applicant->current_employer }}@endif
@endif
Applications & Scores
@forelse($applicant->applications as $app)
{{ $app->jobPosting->title }}
{{ $app->jobPosting->reference }} ยท Applied {{ $app->application_date?->format('M d, Y') }}
{{ ucfirst(str_replace('_',' ',$app->stage)) }} @if($app->weighted_score !== null)
{{ round($app->weighted_score) }}%
@if($app->auto_recommended)
Auto-Recommended
@endif @endif
@if($app->scores->count())
@foreach($app->scores as $score)
{{ $score->criterion?->name }} {{ $score->score }} / {{ $score->criterion?->max_score }}
@endforeach
@endif
@empty
No applications on record.
@endforelse
@endsection