Position: {{ $user->profile->designation->name ?? '' }}

{!! getAvatar($user->id, 120, true) !!}

PERSONAL PARTICULARS

Name: {{ isset($user->profile->first_name) ? title_case($user->profile->first_name) : '' }}
Address: {{ isset($user->profile->address_line_1) ? title_case($user->profile->address_line_1) : 'Nil' }} {{ isset($user->profile->zipcode) ? '('.$user->profile->zipcode.')' : '' }}
NRIC No: {{ isset($user->profile->unique_identification_number) ? str_repeat('*', strlen($user->profile->unique_identification_number) - 4).substr($user->profile->unique_identification_number, - 4) : '' }} Gender : {{ isset($user->profile->gender) ? ucfirst($user->profile->gender) : 'Nil' }}
Date of Birth: {{ isset($user->profile->date_of_birth) ? showDate($user->profile->date_of_birth) : 'Nil' }} Marital Status : {{ !empty($user->profile->marital_status) ? trans('messages.'.$user->profile->marital_status) : 'Nil' }}
Nationality: {{ ($user->profile->nationality == "Foreigner") ? "Malaysian" : $user->profile->nationality }}
Primary Phone: {{ $user->profile->phone }} Secondary Phone : {{ $user->profile->work_phone }}
Emergency Contact: {{ (!empty($emergency_contact)) ? 'Name : '.$emergency_contact->name.' | Mobile : '.$emergency_contact->mobile : '' }}
@if ($educations->count() > 0)

EDUCATIONAL BACKGROUND

@foreach ($educations as $education) @endforeach
From To Name of School / Institution Qualification Obtained
{{showDate($education->from_date,true)}} {{(!empty($education->to_date)) ? showDate($education->to_date,true) : 'Present'}} {{$education->institute_name}} {{$education->educationLevel->name}}
@endif @if ($experiences->count() > 0)

EMPLOYMENT HISTORY

@foreach ($experiences as $experience) @endforeach
From To Employment / Assignment Position
{{showDate($experience->from_date,true)}} {{(!empty($experience->to_date)) ? showDate($experience->to_date,true) : 'Present'}} {{$experience->company_name}} {{$experience->job_title}}
@endif {{-- @if(count($uploads) >= 1)
@endif --}} {{-- @foreach($uploads as $upload)
@endforeach --}} @foreach($uploads as $upload) @if ($upload->type == "NRIC / FIN")

@else

@endif @endforeach