@extends('layouts.app') @section('title', 'Attendance Corrections') @section('header', 'Attendance Corrections') @section('subheader', $canReview ? 'Review correction requests' : 'Your correction requests') @section('header-actions')
Attendance @can('create', App\Models\AttendanceCorrection::class) Request Correction @endcan
@endsection @section('content')
Reset
@if ($canReview)@endif @forelse ($corrections as $correction) @if ($canReview)@endif @empty @endforelse
EmployeeDateRequested InRequested OutStatusActions
{{ $correction->employee?->full_name ?? '—' }}{{ $correction->date->format('M d, Y') }} {{ $correction->requested_in?->format('H:i') ?? '—' }} {{ $correction->requested_out?->format('H:i') ?? '—' }}
No correction requests found.
{{ $corrections->links() }}
@endsection