@extends('portal.layouts.app', [ 'class' => '', 'elementActive' => '' ]) @section('title','Candidate Profile') @section('css') @endsection @section('content')
avatar

{{ $candidate->user?->name }}

{{ $candidate->job_title ?? 'Not specified' }}

@can('call candidate') Call @endcan
@can('match candidate to job') Match @endcan
← Edit
Email: {{ $candidate->user->email ?? '-' }}
Phone: {{ $candidate->user->phone ?? '-' }}
Gender: {{ ucfirst($candidate->gender ?? '-') }}
Date of Birth: {{ $candidate->dob ? \Carbon\Carbon::parse($candidate->dob)->format('d M Y') : '-' }}
Nationality: {{ $candidate->country ?? '-' }}
Location: {{ $candidate->sub_county}}, {{ $candidate->county}}
Agent: {{ $candidate->agent->name ?? '-' }}
Partner: {{ $candidate->partner->name ?? '-' }}
@if(!empty($candidate->summary))
Summary

{{ $candidate->summary }}

@endif
@if($candidate->applications->count())
    @foreach($candidate->applications as $app)
  • {{ $app->reference }} {{ ucfirst($app->status) }}
    {{ $app->job->title ?? '' }} - {{ $app->job->company->name ?? '' }}
    Applied on: {{ \Carbon\Carbon::parse($app->created_at)->format('d M Y') }}
    @csrf @method('DELETE')
  • @endforeach
@else

No applications found.

@endif
Documents
@if($candidate->documents->count())
    @foreach($candidate->documents as $doc)
  • {{ ucfirst(str_replace('_', ' ', $doc->type)) }} View @can('delete candidate document')
    @csrf @method('DELETE')
    @endcan
  • @endforeach
@else

No documents uploaded.

@endif
Education History
@can('edit candidate') @endcan
@if($candidate->certifications->count())
    @foreach($candidate->certifications as $edu)
  • {{ $edu->level }} — {{ $edu->institution }}
    {{ $edu->course ?? 'N/A' }}
    {{ $edu->period }}
    @if($edu->certificate) View File @endif
  • @endforeach
@else

No education records found.

@endif
@if($candidate->skills)
@foreach(explode(',', $candidate->skills) as $skill) {{ trim($skill) }} @endforeach
@else

No skills added.

@endif
@if($candidate->languages)
@foreach(explode(',', $candidate->languages) as $lang) {{ trim($lang) }} @endforeach
@else

No languages specified.

@endif
@can('approve candidate')
@csrf
@endcan
@endsection @section('script') @endsection