@extends('layouts.appv2') @section('content')

Attendance

@if ($message = Session::get('success')) @endif @if ($message = Session::get('error')) @endif @if ($errors->any()) @endif
@php $no = 0; @endphp @php $processedNames = []; @endphp @forelse($checkins_checkouts as $checkin) @if(!in_array($checkin->employee_first_name, $processedNames)) @php $processedNames[] = $checkin->employee_first_name; @endphp @else @endif @empty @endforelse
NO. NAME DEPARTMENT IN/OUT DATE TIME LOCATION Lat, Long
{{ ++$no }} {{ $checkin->employee_first_name }} {{ $checkin->department_code }} {{ $checkin->checkin_type }} {{ \Carbon\Carbon::parse($checkin->checkin_datetime)->format('l, d M Y') }} {{ \Carbon\Carbon::parse($checkin->checkin_datetime)->format('g:i:s A') }} {{ $checkin->checkin_other_reason }} [{{ $checkin->checkin_reason }}] : {{ $checkin->checkin_sublocality }} , {{ $checkin->checkin_locality }} {{ $checkin->checkin_lat }}, {{ $checkin->checkin_lng }}
No check-ins or check-outs recorded.
Not checkin yet
@php $no = 0; @endphp @foreach($notcheckin as $notcheckin) @endforeach
NO. NAME DEPARTMENT
{{ ++$no }} {{ $notcheckin->employee_first_name }} {{ $notcheckin->department_code }}
@endsection