{% extends 'base.html' %} {% block content %}
| Employee | {% for day in days_in_month %}{{ day.day }} | {% endfor %}
|---|---|
| {{ emp.full_name }} | {% for day in days_in_month %} {% set att = attendance_map.get((emp.id, day.strftime('%Y-%m-%d'))) %}{% if att %} {% if frozen %} {{ att.icon }} {% else %} {% endif %} {% else %} {% if frozen %}-{% else %} {% endif %} {% endif %} | {% endfor %}