@extends('layouts.employee') @section('content')
{{ $employee->position }} - {{ $company->name }}
Annual Leave Days
This Week
Pending Claims
Latest Payroll
| Date | Clock In | Clock Out | Hours | Status |
|---|---|---|---|---|
| {{ $attendance->date->format('M j') }} | {{ $attendance->clock_in ? $attendance->clock_in->format('H:i') : '--' }} | {{ $attendance->clock_out ? $attendance->clock_out->format('H:i') : '--' }} | {{ $attendance->total_hours ? number_format($attendance->total_hours, 1) . 'h' : '--' }} | @if($attendance->status === 'present') Present @elseif($attendance->status === 'late') Late @else {{ ucfirst($attendance->status) }} @endif |
No attendance records yet