{{-- ==================== Attendance Tab Start ==================== --}}
| Sl | Date | Status | Comments | Attachment | Taken By | Updated At |
|---|---|---|---|---|---|---|
| @if(is_object($attendances) && method_exists($attendances, 'firstItem')) {{ $attendances->firstItem() + $index }} @else {{ $index + 1 }} @endif | {{ \Carbon\Carbon::parse($attendance->attendance_date)->format('d F, l, Y') }} | @if($attendance->status == 'present') Present @else Absent @endif |
{{ $attendance->remark ?? '(No comment)' }}
|
|
{{ $attendance->taken_by_display_name ?? '-' }} | {{ $attendance->updated_at ? \Carbon\Carbon::parse($attendance->updated_at)->format('h:i A d-m-Y') : '-' }} |
| No attendance records found | ||||||