@if(file_exists('storage/avatars/'.Auth::user()->id.".jpg"))
@else
@endif
Team Member Agreement:
@if(count($user->employee_agreement))
Last Updated: {{$user->employee_agreement->updated_at}}
View/Edit
@else
NO TEAM MEMBER AGREEMENT
Add
@endif
Job Description:
@if(count($user->job_description))
Last Updated: {{$user->job_description->updated_at}}
View/Edit
@else
NO JOB DESCRIPTION
Add
@endif
Performance Appraisals:
@if(count($user->performance_appraisals))
Last Appraisal: {{$user->performance_appraisals->last()->updated_at}}
View/Edit
@else
NO PERFORMANCE APPRAISAL
Add
@endif
Discipliniries:
@if(count($user->Disciplinaries))
Number of Discipliniries: {{count($user->Disciplinaries)}}
Last Discipliniry: {{$user->Disciplinaries->last()->updated_at}}
View/Edit
@else
NO DISCIPLINIARIES
Add
@endif
Personal Details:
National ID: |
{{$user->national_id==""?" ":$user->national_id}} |
Marital Status: |
{{$user->marital_status==""?" ":$user->marital_status}} |
Last Updated: | {{$user->updated_at}} |
Contact Details:
@if(count($user->contact_details))
Email: | {{$user->email}} |
Contact Number: | {{$user->contact_details->last()->number}} |
Address: | {!!nl2br($user->contact_details->last()->address)!!} |
Last Updated: | {{$user->contact_details->last()->updated_at}} |
@else
Not Completed
@endif
@if($user->marital_status == 'Married' || $user->marital_status == 'Seperated')
Spouse:
@if(count($user->contact_details))
Name: | {{$user->spouse->name}} {{$user->spouse->surname}} |
Contact Number: | {{$user->spuse->number}} |
E-Mail: | {{$user->spouse->email}} |
Last Updated: | {{$user->spouse->updated_at}} |
@else
Not Completed
@endif
@endif
Children:
@if(count($user->contact_details))
Name |
Sex |
Date of Birth |
Satus |
@forelse(Auth::user()->children as $child)
{{$child->name}} |
{{$child->sex}} |
{{$child->dob}} |
{{$child->status}} |
@empty
No children.
|
@endforelse
Last Updated: | {{$user->children->last()->updated_at}} |
@else
Not Completed
@endif
Emergency Contact:
@if(count($user->contact_details))
Name: | {{$user->emergency_contact->name}} {{$user->emergency_contact->surname}} |
Contact Number: | {{$user->emergency_contact->number}} |
E-Mail: | {{$user->emergency_contact->email}} |
Address: | {!!nl2br($user->emergency_contact->address)!!} |
Last Updated: | {{$user->emergency_contact->updated_at}} |
@else
Not Completed
@endif