@extends('layouts.app') @section('page-title', 'Attendance Management') @push('styles') @endpush @section('content')
Legend: @foreach(['P'=>'Present','A'=>'Absent','Late'=>'Late','CL'=>'Casual Leave','ML'=>'Maternity Leave','SPWP'=>'SPWP','SPWOP'=>'SPWOP','Weekend'=>'Weekend','Holiday'=>'Holiday'] as $code => $label) {{ $code }} - {{ $label }} @endforeach
Attendance Records ({{ $attendances->total() }})
@forelse($attendances as $att) @empty @endforelse
#EmployeeDepartmentDateDayStatusActions
{{ $att->id }}
{{ $att->employee->name }}
{{ $att->employee->rg_id }}
{{ $att->employee->department?->name ?? '—' }} {{ $att->date->format('d M Y') }} {{ $att->date->format('l') }} {{ $att->status }}
@csrf @method('DELETE')
No attendance records found.
@if($attendances->hasPages())
{{ $attendances->links() }}
@endif
@endsection