{% extends "base_authenticated.html" %} {% block title %}Photo Verification Review{% endblock %} {% block content %}

{{ pending_count }}

Pending Review

{{ approved_count }}

Approved

{{ rejected_count }}

Rejected

Reset
{% if verifications %}
{% for record in verifications %}

{{ record.employee_id }} {% if employee_names.get(record.employee_id) %} - {{ employee_names.get(record.employee_id) }} {% endif %}

{{ record.check_in_date.strftime('%b %d, %Y') }} {{ record.check_in_time.strftime('%I:%M %p') }} {{ record.location_name }} {% if record.qr_code and record.qr_code.location_event %} {{ record.qr_code.location_event }} {% endif %}
{% if record.qr_code and record.qr_code.project_id and project_names.get(record.qr_code.project_id) %}
{{ project_names.get(record.qr_code.project_id) }}
{% endif %}
{% if record.verification_status == 'pending' %} Pending {% elif record.verification_status == 'approved' %} Approved {% elif record.verification_status == 'rejected' %} Rejected {% endif %}
{% if record.verification_photo %} Verification Photo {% else %}

No photo available

{% endif %}
{% if record.verification_photo %} {% endif %}
Distance from Location: {% if record.location_accuracy %} {{ "%.3f"|format(record.location_accuracy) }} miles {% else %} N/A {% endif %}
QR Location: {{ record.qr_code.location_address if record.qr_code.location_address else 'N/A' }}
Check-in Address: {{ record.address if record.address else 'N/A' }}
{% if record.latitude and record.longitude %} {% endif %}
Verification Submitted: {{ record.verification_timestamp.strftime('%b %d, %Y %I:%M %p') if record.verification_timestamp else 'N/A' }}
{% if record.edit_note %}
Note: {{ record.edit_note }}
{% endif %}
{% if record.verification_status == 'pending' %}
{% endif %}
{% endfor %}
{% else %}

No Verifications Found

There are no photo verifications matching your current filters.

{% endif %}
Click anywhere outside the image to close  ·  ESC to dismiss
{% endblock %}