Name : |
{{ isset($user->profile->first_name) ? title_case($user->profile->first_name) : '' }} |
Position : |
{{ $user->profile->designation->name ?? '' }} |
NRIC No: |
{{ isset($user->profile->unique_identification_number) ? str_repeat('*', strlen($user->profile->unique_identification_number) - 4).substr($user->profile->unique_identification_number, - 4) : '' }} |
Nationality: |
{{ title_case($user->profile->passportCountry()) }} |
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' }} |
Mobile: |
{{ $user->profile->phone }} |
Age: |
{{ isset($user->profile->date_of_birth) ? getAge($user->profile->date_of_birth) : 'Nil' }} |