{{-- Header --}}
{{ $pageTitle }}
Mark attendance for {{ \Carbon\Carbon::parse($date)->format('l, d F Y') }}
Back
@csrf
#
Staff
Check In
Check Out
Status
Remarks
@foreach($staffList as $index => $staff) @php $att = $attendances->get($staff->id); @endphp
{{ $index + 1 }}
{{ strtoupper(substr($staff->first_name, 0, 1)) }}{{ strtoupper(substr($staff->last_name, 0, 1)) }}
{{ $staff->first_name }} {{ $staff->last_name }}
{{ $staff->designation ?? 'Staff' }}
status == 'present' ? 'selected' : '' }}>Present
status == 'absent') ? 'selected' : '' }}>Absent
status == 'late' ? 'selected' : '' }}>Late
status == 'half_day' ? 'selected' : '' }}>Half Day
status == 'on_leave' ? 'selected' : '' }}>On Leave
status == 'holiday' ? 'selected' : '' }}>Holiday
status == 'weekend' ? 'selected' : '' }}>Weekend
@endforeach