{% extends "base.html" %} {% block title %}Attendance Management{% endblock %} {% block page_title %}Attendance Management{% endblock %} {% block content %}
{{ stats.total if stats else 0 }}
📊 Total Records
{{ stats.present if stats else 0 }}
✅ Present
{{ stats.absent if stats else 0 }}
❌ Absent
{{ stats.late if stats else 0 }}
⏰ Late
{{ stats.half_day if stats else 0 }}
🌓 Half Day
� Attendance is now set for manual entry. Select an employee, choose a date, and mark the attendance status directly.
{% for att in attendances %} {% else %} {% endfor %}
ID Employee Name Date Status Check In Check Out Remarks Action
{{ att[0] }} {{ att[2] }} {{ att[3] }} {% if att[4] == 'present' %} ✅ Present {% elif att[4] == 'absent' %} ❌ Absent {% elif att[4] == 'late' %} ⏰ Late {% elif att[4] == 'half_day' %} 🌓 Half Day {% else %} {{ att[4] }} {% endif %} {{ att[5] if att[5] else '-' }} {{ att[6] if att[6] else '-' }} {{ att[7] if att[7] else '-' }} —
📋 No attendance records found. Click "Mark Attendance" to add.
{% endblock %}