{% extends 'base.html' %} {% block content %}

📊 Month-wise Attendance Summary

{% if employees %} {% for day in days_in_month %} {% endfor %} {% for emp in employees %} {% for day in days_in_month %} {% set att = attendance_map.get((emp.id, day.strftime('%Y-%m-%d'))) %} {% endfor %} {% endfor %}
Employee{{ day.day }}
{{ emp.full_name }} {% if att %} {% if frozen %} {{ att.icon }} {% else %}
{% endif %} {% else %} {% if frozen %}-{% else %}
{% endif %} {% endif %}
{% else %}
No attendance records found for this month.
{% endif %} {% endblock %}