{{-- Stop trying to control. --}}
Report Attendance
{{--

{{ $this->attendanceSummary->total_employee }}

Total Employees
--}}

{{ $this->attendanceSummary->total_check_in }} / {{ $this->attendanceSummary->total_employee - $this->attendanceSummary->total_on_leave }}

Present
{{-- --}}

{{ $this->attendanceSummary->total_employee - $this->attendanceSummary->total_on_leave - $this->attendanceSummary->total_check_in - $this->attendanceSummary->total_absent }}

Pending

{{ $this->attendanceSummary->total_on_leave }}

On Leave

{{ $this->attendanceSummary->total_absent }}

Absent
{{-- FILTER CARD --}}
{{-- Shift Type --}}
@error('shiftTypeId') {{ $message }} @enderror
{{-- Status --}}
{{-- --}} {{-- --}}

Attendance - {{ Carbon\Carbon::parse($date)->format('d/m/Y') }}

Total Records: {{ $this->attendanceList->count() }}
@forelse ($this->attendanceList as $list) @empty @endforelse
Staff Id
Staff Name
Attendance Date
Check In
Check Out
Shift
Other Clocking Activities
Status
Lateness
OT
Action
{{ data_get($list, 'employee.staff_id') ?? '-' }} {{ data_get($list, 'employee.name') ?? '-' }} {{ data_get($list, 'shift_date')->format('d/m/Y') ?? '-' }} {{ data_get($list, 'check_in') ?? '-' }} {{ data_get($list, 'check_out') ?? '-' }} {{ data_get($list, 'shift.name') ?? '-' }}
{{ data_get($list, 'shift.start_time') ?? '-' }} {{ data_get($list, 'shift.end_time') ?? '-' }}
@forelse($list->logs as $log)
{{ $log->scan_time }}
@empty
No Logs
@endforelse
@php $status = data_get($list, 'computed_status') ?? ''; @endphp {!! $status ? match (strtolower($status)) { 'present' => 'Present', 'late' => 'Late', 'absent' => 'Absent', 'rest_day' => 'Rest Day', 'present_ot' => 'Present', default => '' . ucfirst($status) . '', } : ($list->is_rest_day ? 'Rest Day' : ($list->is_off_day ? 'Off Day' : ($isAbsent ? 'Absent' : 'Pending'))) !!} {{ $list->late_minutes }} min {{ $list->ot_minutes }} min View
No records found