@extends('layout.index') @section('title','Attendance Details') @section('content')
Back

@if(isset($Emp_Details)){{ strtoupper($Emp_Details->firstname) }} {{ strtoupper($Emp_Details->middlename)}} {{ strtoupper($Emp_Details->lastname) }}@else{{ '-' }}@endif

@if(isset($aLogIn->success) && $aLogIn->success == 1) {{ 'Present' }} @else {{ 'Absent' }}@endif @if(isset($aDate)){{ date('d/m/Y', $aDate) }}@else{{ '-' }}@endif
@if(isset($aLogIn->image_url)) Profile Picture @else Profile Picture @endif

Login Details

@if(isset($aLogIn->success)&& $aLogIn->success == 1 ) {{ 'Present' }} @else {{ 'Absent' }} @endif
IN Time

@if(isset($aLogIn->inward_datetime)){{ date('h:i A', $aLogIn->inward_datetime) }}@else{{ '-' }}@endif

Latitude

@if(isset($aLogIn->latitude)){{ $aLogIn->latitude }}@else{{ '-' }}@endif

Longitude

@if(isset($aLogIn->longitude)){{ $aLogIn->longitude }}@else{{ '-' }}@endif


Location

@if(isset($aLogIn->location)){{ $aLogIn->location }}@else{{ '-' }}@endif


@if(isset($aLogOut->image_url)) Profile Picture @else Profile Picture @endif

Logout Details

@if(isset($aLogOut->success) && $aLogOut->success == 1 ) {{ 'Present' }} @else {{ 'Absent' }} @endif
OUT Time

@if(isset($aLogOut->outword_datetime)){{ date('h:i A', $aLogOut->outword_datetime) }}@else{{ '-' }}@endif

Latitude

@if(isset($aLogOut->latitude)){{ $aLogOut->latitude }}@else{{ '-' }}@endif

Longitude

@if(isset($aLogOut->longitude)){{ $aLogOut->longitude }}@else{{ '-' }}@endif


Location

@if(isset($aLogOut->location)){{ $aLogOut->location }}@else{{ '-' }}@endif


@if(sizeof($aAttendanceLog)) @php $i=0; @endphp @foreach($aAttendanceLog as $val) @php $i++; @endphp @endforeach @else @endif
Sr.No Time Employee Image Map
{{ $i }} {{ date('h:i A', $val->created) }}
@if(isset($val->image_url)) avatar @else Profile Picture @endif
@if($val->latitude && $val->longitude) @endif
@csrf
No Record Found.
@endsection