@extends('layouts.app') @section('content')

Attendance

View and Manage Attendances.

Back to Admin
Filter data:
Quick Clock In/Out
Today's Summary
{{ $presentAttendances->count() }}
Present
{{ $absentEmployees->count() }}
Absent
{{ $attendances->where('status', 'late')->count() }}
Late
@forelse($attendances ?? [] as $attendance) @empty @endforelse
Employee Attendance Shift Day Type Type
{{ $attendance->employee->full_name ?? '' }} @if($attendance->clock_in && $attendance->clock_out) {{ \Carbon\Carbon::parse($attendance->clock_in)->format('H:i') }} - {{ \Carbon\Carbon::parse($attendance->clock_out)->format('H:i') }} @elseif($attendance->clock_in) {{ \Carbon\Carbon::parse($attendance->clock_in)->format('H:i') }} - Present @else Absent @endif {{ $attendance->shift ?? 'Day Shift' }} {{ $attendance->day_type ?? 'Normal' }} @if($attendance->status === 'present') Present @elseif($attendance->status === 'absent') Absent @elseif($attendance->status === 'late') Late @else {{ ucfirst($attendance->status ?? 'Unknown') }} @endif
No attendance found.
@forelse($presentAttendances ?? [] as $attendance) @empty @endforelse
Employee Clock In Clock Out Total Hours Overtime Hours
{{ $attendance->employee->full_name }} {{ $attendance->clock_in ? \Carbon\Carbon::parse($attendance->clock_in)->format('H:i') : '-' }} {{ $attendance->clock_out ? \Carbon\Carbon::parse($attendance->clock_out)->format('H:i') : '-' }} {{ number_format($attendance->total_hours ?? 0, 2) }}h {{ number_format($attendance->overtime_hours ?? 0, 2) }}h
No present employees found.
@forelse($absentEmployees ?? [] as $employee) @empty @endforelse
Employee Expected Shift Reason Status
{{ $employee->full_name }} Day Shift No show Absent
No absent employees found.
@forelse($overtimeRequests ?? [] as $request) @empty @endforelse
Employee Date Requested Hours Reason Status Actions
{{ $request->employee->full_name }} {{ $request->date->format('M d, Y') }} {{ $request->requested_hours }}h {{ $request->reason }} @if($request->status === 'pending') Pending @elseif($request->status === 'approved') Approved @else Rejected @endif @if($request->status === 'pending') @endif
No overtime requests found.
Submit Overtime Request
@csrf
Employees marked as Executive/Management are not entitled to overtime.
@forelse($visits ?? [] as $visit) @empty @endforelse
Employee Client/Location Check In Check Out Purpose Status
{{ $visit->employee->full_name }} {{ $visit->location }} {{ $visit->check_in ? \Carbon\Carbon::parse($visit->check_in)->format('H:i') : '-' }} {{ $visit->check_out ? \Carbon\Carbon::parse($visit->check_out)->format('H:i') : '-' }} {{ $visit->purpose }} @if($visit->status === 'in_progress') In Progress @elseif($visit->status === 'completed') Completed @else {{ ucfirst($visit->status) }} @endif
No visits found.

Attendance Summary Reports

You can now download an attendance summary report in xlsx (an Excel spreadsheet). Choose the start date and end date, a report will be generated immediately.

@csrf
@push('scripts') @endpush @endsection