@php $approvalCenterUrl = $approvalCenterRoute && \Illuminate\Support\Facades\Route::has($approvalCenterRoute) ? route($approvalCenterRoute) : null; @endphp
{{ __('Attendance') }}
@forelse($attendances as $att) @empty @endforelse
{{ __('Date') }} {{ __('In') }} {{ __('Out') }} {{ __('Status') }}
{{ $att->date }} {{ $att->signIn ? date('h:i A', strtotime($att->signIn)) : '—' }} {{ $att->signOut ? date('h:i A', strtotime($att->signOut)) : '—' }} {{ $att->status ?? '—' }}
{{ __('No attendance found') }}
@if($attendances->hasPages()) @endif