{% extends "base_authenticated.html" %} {% block title %}Record Details - {{ record.employee_name }} - {{ COMPANY_NAME }}{% endblock %} {% block extra_head %} {% endblock %} {% block page_title %}Record Details{% endblock %} {% block content %}

Record Details

Detailed information for attendance record #{{ record.id }}

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

Employee Information

{{ record.employee_name[0].upper() if record.employee_name else record.employee_id[0].upper() }}

{{ record.employee_name }}

Employee ID: {{ record.employee_id }}

Attendance Information

Date
{{ record.attendance_date.strftime('%A, %B %d, %Y') }}
Time
{{ record.attendance_time.strftime('%I:%M:%S %p') }}
Action
{% if record.action_description.lower() == 'check in' %} {% elif record.action_description.lower() == 'check out' %} {% else %} {% endif %} {{ record.action_description }}
Full Date & Time
{{ record.formatted_datetime }}

Location Information

Location Name
{{ record.location_name }}
{% if record.event_description %}
Event Description
{{ record.event_description }}
{% endif %} {% if record.recorded_address %}
Recorded Address
{{ record.recorded_address }}
{% endif %}
{% if record.platform %}

Device Information

Platform
{{ record.platform }}
{% endif %}

Import Information

{% if record.import_batch_id %}
Batch ID
{{ record.import_batch_id }}
{% endif %} {% if record.import_source %}
Import Source
{{ record.import_source }}
{% endif %}
Import Date
{{ record.import_date.strftime('%Y-%m-%d %H:%M:%S') if record.import_date else 'Unknown' }}
Created Date
{{ record.created_date.strftime('%Y-%m-%d %H:%M:%S') if record.created_date else 'Unknown' }}
{% endblock %}