{% extends "base.html" %} {% block title %}Attendance Report - QR Code Management{% endblock %} {% block content %}

Attendance Report

Monitor and analyze staff attendance across all locations

{{ stats.total_checkins or 0 }}

Total Check-ins

All time

{{ stats.unique_employees or 0 }}

Unique Employees

Have checked in

{{ stats.active_locations or 0 }}

Active Locations

With check-ins

{{ stats.today_checkins or 0 }}

Today's Check-ins

{{ "now"|strftime('%B %d') }}

Filter Records

Attendance Records

entries
{% if attendance_records %} {% for record in attendance_records %} {% endfor %}
# Employee ID Location Event Date Time Device Status Actions
{{ loop.index }}
{{ record.employee_id }}
{{ record.location_name }}
{{ record.location_event }}
{{ record.check_in_date.strftime('%Y-%m-%d') }}
{{ record.check_in_time.strftime('%H:%M') }}
{{ record.device_info[:20] }}{% if record.device_info|length > 20 %}...{% endif %}
{{ record.status.title() }}
{% else %}

No Attendance Records Found

{% if date_filter or location_filter or employee_filter %} No records match your current filters. Try adjusting the filter criteria. {% else %} No staff have checked in yet. QR codes need to be scanned to generate attendance data. {% endif %}

{% endif %}

Daily Check-ins (Last 7 Days)

Check-ins by Location

{% endblock %} {% block extra_scripts %} {% endblock %}