@extends('layouts.agent') @section('title', 'View Candidate - M-Ajira Agent') @section('content')
Back to My Candidates

{{ $candidate->first_name }} {{ $candidate->last_name }}

M-Ajira ID: {{ $candidate->majira_id }}

{{ ucfirst($candidate->status) }}
@if($candidate->photo_path) {{ $candidate->first_name }} @else
{{ substr($candidate->first_name, 0, 1) }}{{ substr($candidate->last_name ?? 'X', 0, 1) }}
@endif

{{ $candidate->first_name }} {{ $candidate->last_name }}

{{ $candidate->majira_id }}

📊 Quick Stats

Gender {{ $candidate->gender }}
Age {{ $candidate->age }} years
Marital Status {{ $candidate->marital_status ?? 'N/A' }}
@if($candidate->number_of_children > 0)
Children {{ $candidate->number_of_children }}
@endif

📄 Travel Documents

Passport {{ $candidate->has_passport ? '✅' : '❌' }}
Police Clearance {{ $candidate->has_valid_police_clearance ? '✅' : '❌' }}
Medical Certificate {{ $candidate->has_medical_certificate ? '✅' : '❌' }}
Driver's License {{ $candidate->has_driver_license ? '✅' : '❌' }}

📞 Contact Information

{{ $candidate->phone }}

@if($candidate->email)

{{ $candidate->email }}

@endif @if($candidate->national_id)

{{ $candidate->national_id }}

@endif

📍 Location Details

{{ $candidate->county }}

@if($candidate->sub_county)

{{ $candidate->sub_county }}

@endif @if($candidate->ward)

{{ $candidate->ward }}

@endif

🎓 Education & Skills

@if($candidate->education)

{{ $candidate->education }}

@endif @if($candidate->trade_cert)

{{ $candidate->trade_cert }}

@endif @if($candidate->issuing_institution)

{{ $candidate->issuing_institution }}

@endif @if($candidate->local_profession)

{{ $candidate->local_profession }}

@endif @if($candidate->international_profession)

{{ $candidate->international_profession }}

@endif @if($candidate->religion)

{{ $candidate->religion }}

@endif
@if($candidate->has_passport)

🛂 Passport Details

@if($candidate->passport_number)

{{ $candidate->passport_number }}

@endif @if($candidate->passport_tracking_number)

{{ $candidate->passport_tracking_number }}

@endif
@endif @if($candidate->has_valid_police_clearance && $candidate->police_clearance_number)

🚔 Police Clearance

{{ $candidate->police_clearance_number }}

@endif @if($candidate->worked_abroad_before)

✈️ Previous Work Abroad Experience

@if($candidate->previous_country)

{{ $candidate->previous_country }}

@endif @if($candidate->work_abroad_from_year)

{{ $candidate->work_abroad_from_year }}

@endif @if($candidate->work_abroad_to_year)

{{ $candidate->work_abroad_to_year }}

@endif
@endif @if($candidate->needs_financing)

💳 Financing Required

@if($candidate->financing_notes)

{{ $candidate->financing_notes }}

@else

This candidate requires financing assistance.

@endif
@endif @if($candidate->next_of_kin_name)

👨‍👩‍👧 Next of Kin

{{ $candidate->next_of_kin_name }}

@if($candidate->next_of_kin_relationship)

{{ $candidate->next_of_kin_relationship }}

@endif @if($candidate->next_of_kin_id)

{{ $candidate->next_of_kin_id }}

@endif @if($candidate->next_of_kin_phone)

{{ $candidate->next_of_kin_phone }}

@endif
@endif @if($candidate->guarantor_name)

🤝 Guarantor

{{ $candidate->guarantor_name }}

@if($candidate->guarantor_relationship)

{{ $candidate->guarantor_relationship }}

@endif @if($candidate->guarantor_id)

{{ $candidate->guarantor_id }}

@endif @if($candidate->guarantor_phone)

{{ $candidate->guarantor_phone }}

@endif
@endif

📝 Registration Details

{{ $candidate->date_of_entry ? $candidate->date_of_entry->format('d M Y, h:i A') : 'N/A' }}

@if($candidate->how_did_you_hear)

{{ $candidate->how_did_you_hear }}

@endif @if($candidate->referral_code)

{{ $candidate->referral_code }}

@endif
@if($candidate->user) Active @else No Access @endif
Back to My Candidates
@endsection