Employee code:
{{$employee->employee_code}}
Manager:
{{$employee->hod ? $employee->hod->name : '-'}}
Location:
@if(count($employee->locations)>0)
@foreach($employee->locations as $location)
{{$location->geo_address}}
@if($location->geo_latitude && $location->geo_longitude)
@endif
@endforeach
@else - @endif
Email ID:
{{$employee->email}}
Contact No.:
{{$employee->mobile}}
Shift:
{{ isset($currentShift) && isset($currentShift->shift) ? $currentShift->shift->name.' ('.$startTime.' - '.$endTime.')' : '-'}}