@extends('layouts.admin') @section('content')

Attendance Management

Scan QR Attendance

Scan the QR code from the receipt to record attendance automatically.

Manual Attendance

Record attendance manually using Booking ID.

Attendance History

@forelse ($logs as $index => $log) @php $details = $log->details ?? []; @endphp @empty @endforelse
# Booking ID User Facility Time Status
{{ $index + 1 }} {{ $log->booking_id }} {{ $details['user'] ?? '-' }} {{ $details['facility'] ?? '-' }} {{ \Carbon\Carbon::parse($log->scanned_at)->format('d M Y, h:i A') }} @if ($log->status == 'present') Present @elseif ($log->status == 'duplicate') Duplicate @else Manual @endif
No attendance records found for this date.
@endsection