@extends('layouts.workers') @section('content')
@if(strtolower($worker->status) === 'back_out' && $worker->backout_reason)
Back Out Reason:

{{ $worker->backout_reason }}

@endif

Candidate Information

View candidate information below

Back to List
Personal Information
Name: {{ $worker->surname }} {{ $worker->given_names }}
Gender: {{ $worker->gender ?? 'N/A' }}
Job: {{ $worker->occupation ?? 'N/A' }}
Mobile: {{ $worker->mobile_number ?? 'N/A' }}
Languages: @if(!empty($worker->languages)) @php $languages = json_decode($worker->languages, true) ?? []; @endphp @if(count($languages) > 0)
@foreach($languages as $language) {{ $language }} @endforeach
@else

N/A

@endif @else

N/A

@endif
Experience: {{ $worker->work_experience ?? 'N/A' }}
Photo: @if($worker->photo_url) View @else N/A @endif
Given Names: {{ $worker->given_names ?? 'N/A' }}
Marital Status: {{ $worker->marital_status ?? 'N/A' }}
Date of Birth: {{ $worker->date_of_birth ? \Carbon\Carbon::parse($worker->date_of_birth)->format('d M Y') : 'N/A' }}
Religion: {{ $worker->religion ?? 'N/A' }}
ID Number: {{ $worker->id_number ?? 'N/A' }}
Skills: @if(!empty($worker->skills)) @php $skills = json_decode($worker->skills, true) ?? []; @endphp @if(count($skills) > 0)
@foreach($skills as $skill) {{ $skill }} @endforeach
@else

N/A

@endif @else

N/A

@endif
Passport Information
Passport Number: {{ $worker->passport_number ?? 'N/A' }}
Expiry Date: {{ $worker->passport_expiry_date ?? 'N/A' }}
Issue Date: {{ $worker->passport_issue_date ?? 'N/A' }}
Issue Place: {{ $worker->passport_issue_place ?? 'N/A' }}
Passport File: @if($worker->passport_file) View @else N/A @endif
Sub-Agent
Name: {{ $worker->subAgent->name ?? 'N/A' }}
Phone No: {{ $worker->subAgent->phone ?? 'N/A' }}
Commission: {{ $worker->subAgent->commission ?? 'N/A' }}
Address
Country: {{ $worker->country ?? 'N/A' }}
City: {{ $worker->city ?? 'N/A' }}
Address: {{ $worker->place_of_birth ?? 'N/A' }}
Relative Contact
Name: {{ $worker->relative_name ?? 'N/A' }}
Kinship: {{ $worker->relative_kinship ?? 'N/A' }}
Phone: {{ $worker->relative_phone ?? 'N/A' }}
Address: {{ $worker->relative_address ?? 'N/A' }}
@if($worker->status !== 'back_out') @endif
@push('scripts') @endpush @endsection