| Name | : {{ $user->first_name }} |
| Date of Birth | : {{ date("j F Y", strtotime($user->member->birthday)) }} |
| Place of Birth | : {{ $user->astrologies->city_of_birth ?? '-' }} |
@if($user->education->count())
| Education |
:
{{ $user->education->map(function($edu) {
return $edu->degree . ($edu->institution ? ' at ' . $edu->institution : '');
})->join(', ') }}
|
@endif
@if($user->career->count())
| Job/Occupation |
:
{{ $user->career->map(function($job){
return $job->designation . ($job->company ? " at {$job->company}" : '') . ($job->present ? ' (Present)' : '');
})->implode(', ') }}
|
@endif
| Height | : {{ $user->physical_attributes->height ?? '-' }} feet |
| Weight | : {{ $user->physical_attributes->weight ?? '-' }} kg |
| Father's Name | : {{ $user->families->father ?? '-' }} |
| Father's Occupation | : {{ $user->families->father_occupation ?? '-' }} |
| Mother's Name | : {{ $user->families->mother ?? '-' }} |
| Mother's Occupation | : {{ $user->families->mother_occupation ?? '-' }} |
| Grand Father Name | : {{ $user->families->grand_father ?? '-' }} |
| Grand Mother Name | : {{ $user->families->grand_mother ?? '-' }} |
@php
$groupedSiblings = $user->families->siblings ? $user->families->siblings->groupBy('relation') : collect();
@endphp
@if($groupedSiblings->count())
@foreach($groupedSiblings as $relation => $siblings)
| {{ ucwords(str_replace('_', ' ', $relation)) }} List |
: {!! $siblings->pluck('name')->implode(' ') !!} |
@endforeach
@endif
| Contact Number | : {{ $user->phone }} |