@extends('layouts.app') @section('title', 'Attendance') @section('header', 'Attendance') @section('subheader', $canViewAll ? 'Daily attendance summaries' : 'Your attendance') @section('header-actions')
Today Calendar Corrections @can('create', App\Models\AttendanceSummary::class) Record @endcan
@endsection @section('content') @can('recordOwn', App\Models\AttendanceSummary::class) @include('attendances._punch-widget', ['todaySummary' => $todaySummary]) @endcan
@if ($canViewAll)
@endif
Reset
@if ($canViewAll)@endif @can('create', App\Models\AttendanceSummary::class)@endcan @forelse ($attendances as $row) @if ($canViewAll)@endif @can('create', App\Models\AttendanceSummary::class) @endcan @empty @endforelse
DateEmployeeInOutHoursLateOTStatusActions
{{ $row->date->format('M d, Y') }}
{{ $row->date->format('D') }}
{{ $row->employee?->full_name ?? '—' }} {{ $row->first_in?->format('H:i') ?? '—' }} @if ($row->is_missing_punch)@endif {{ $row->last_out?->format('H:i') ?? '—' }} {{ $row->worked_hours }} {{ $row->late_minutes ? $row->late_minutes.'m' : '—' }} {{ $row->overtime_minutes ? $row->overtime_minutes.'m' : '—' }}
No attendance records found.
{{ $attendances->links() }}
@endsection