@extends('layouts.admin')
@section('title', 'Attendance')
@section('content')
| Date | Employee | Clock In | Clock Out | Hours | Status | |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($a->work_date)->format('M j, Y') }} | {{ $a->full_name }} ({{ $a->employee_number }}) | {{ $a->clock_in ? \Carbon\Carbon::parse($a->clock_in)->format('H:i') : '—' }} | {{ $a->clock_out ? \Carbon\Carbon::parse($a->clock_out)->format('H:i') : '—' }} | {{ $a->hours_worked ?? '—' }} | @if($a->status==='pending')@endif | |
| No attendance records | ||||||