{% extends "base_authenticated.html" %} {% block title %}Time Attendance Records - {{ COMPANY_NAME }}{% endblock %} {% block extra_head %} {% endblock %} {% block page_title %}Time Attendance Records{% endblock %} {% block content %}

Time Attendance Records

View and manage imported time attendance data

{% if session.role == 'admin' %} Import Data {% endif %}

Filter Records

Clear

Attendance Records

{% if records.items %} Showing {{ records.per_page * (records.page - 1) + 1 }} - {{ records.per_page * (records.page - 1) + records.items|length }} of {{ records.total }} records {% else %} No records found {% endif %}
{% if records.items %}
{% for record in records.items %} {% endfor %}
Employee ID Name Date & Time Action Location Platform QR Address Check-in Address Actions
{{ record.employee_id }}
{{ record.employee_name }}
{{ record.attendance_date.strftime('%Y-%m-%d') }}
{{ record.attendance_time.strftime('%H:%M:%S') }}
{% if record.action_description.lower() == 'check in' %} {% elif record.action_description.lower() == 'check out' %} {% else %} {% endif %} {{ record.action_description }}
{{ record.location_name }}
{{ record.platform or 'Unknown' }} {% if record.qr_address %} {{ record.qr_address[:40] }}{% if record.qr_address|length > 40 %}...{% endif %} {% else %} No QR address {% endif %} {% if record.location_accuracy is not none and record.location_accuracy <= 0.3 %} {# Within 0.3 mile threshold - show QR address #} {% if record.qr_address %} {{ record.qr_address[:40] }}{% if record.qr_address|length > 40 %}...{% endif %} {% else %} No address {% endif %} {% else %} {# Beyond 0.3 mile threshold or no accuracy - show actual check-in address #} {% if record.recorded_address %} {{ record.recorded_address[:40] }}{% if record.recorded_address|length > 40 %}...{% endif %} {% else %} No address {% endif %} {% endif %}
View {% if session.role == 'admin' %} {% endif %}
{% if records.pages > 1 %} {% endif %} {% else %}

No Records Found

No time attendance records match your current filters.

Clear Filters
{% endif %}
{% endblock %}