{% extends 'base.html' %} {% load static %} {% block title %}Attendance — {{ class }}{% endblock %} {% block content %}
{{ month }}/{{ year }}
| Student | {% for day in days %}{{ day|date:"d" }} | {% endfor %}||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ row.student.get_full_name }} | {% for att in row.attendance %}{% if att.status == 'present' %} P {% elif att.status == 'absent' %} A {% elif att.status == 'late' %} L {% elif att.status == 'excused' %} E {% elif att.status == 'weekend' %} — {% elif att.status == 'future' %} · {% else %} ? {% endif %} | {% endfor %}||||||||||||||||||||||||||||||
| No data available. | |||||||||||||||||||||||||||||||