@extends('layouts.userapp') @section('content') @php use Carbon\Carbon; @endphp

Whereabout

Today Attendance
@php $no = 0; @endphp @forelse($processedCheckins as $checkin) @empty No staff checkin yet today @endforelse
{{ $checkin['username'] }}
@if($checkin['inCheckin']) IN: {{ \Carbon\Carbon::parse($checkin['inCheckin']->checkin_datetime)->format('g:i A') }}
{{ $checkin['inCheckin']->checkin_sublocality }}, {{ $checkin['inCheckin']->checkin_locality }}
@endif @if($checkin['outCheckin']) OUT: {{ \Carbon\Carbon::parse($checkin['outCheckin']->checkin_datetime)->format('g:i A') }}
{{ $checkin['outCheckin']->checkin_sublocality }}, {{ $checkin['outCheckin']->checkin_locality }}
@endif @if($checkin['inOTCheckin']) IN (OT): {{ \Carbon\Carbon::parse($checkin['inOTCheckin']->checkin_datetime)->format('g:i A') }}
{{ $checkin['inOTCheckin']->checkin_sublocality }}, {{ $checkin['inOTCheckin']->checkin_locality }}
@endif @if($checkin['outOTCheckin']) OUT (OT): {{ \Carbon\Carbon::parse($checkin['outOTCheckin']->checkin_datetime)->format('g:i A') }}
{{ $checkin['outOTCheckin']->checkin_sublocality }}, {{ $checkin['outOTCheckin']->checkin_locality }} @endif
Not checkin yet
@php $no = 0; @endphp @foreach($notcheckin as $notcheckin) @endforeach
NO. NAME
{{ ++$no }} {{ $notcheckin->employee_first_name }}
Today Absent Staff
@php $no = 0; @endphp @forelse($leave as $leave) @empty No staff take a leave today @endforelse
{{ $leave->username }}
{{ $leave->leavetype_name }} : {{ $leave->total_days }} DAYS
@endsection