{% extends "base_authenticated.html" %} {% block title %}Edit Attendance Record - QR Code Management{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

Edit Attendance Record

Modify attendance record details (Admin & Accounting Access)

Current Record Information

Record ID: {{ attendance_record.id }}

Current Employee: {{ attendance_record.employee_id }}

Current Date: {{ attendance_record.check_in_date.strftime('%Y-%m-%d') }}

Current Time: {{ attendance_record.check_in_time.strftime('%H:%M') }}

Current Location: {{ attendance_record.location_name }}

Audit Information

{% if attendance_record.edit_note %}

Previous Edit History

{% endif %}
{% if attendance_record.edit_note %} Note: Your new reason will be appended to the existing audit trail. {% else %} This note will be logged for audit purposes and added to the record's audit trail. {% endif %}

Employee Information

Check-in Details

Location Information

{% if session.role not in ['admin', 'accounting'] %}
Read-Only Access: You can view this record but cannot make changes. Only Admin and Accounting staff can modify attendance records.
{% endif %}
{% if session.role in ['admin', 'accounting'] %} {% endif %} Cancel
{% endblock %} {% block extra_scripts %} {% endblock %}