{% extends "base.html" %} {% load get_item %} {% block page_title %}Take Attendance{% endblock page_title %} {% block content %}

Lesson Attendance

{% if session_form.time_slot.value %} {% endif %} My Timetable
{% if selected_class_stream and selected_subject and session %}
{% if is_locked %} Attendance submitted successfully. Editing locked. {% else %} Active lesson attendance sheet loaded. {% endif %}
Class:
{{ selected_class_stream }}
Subject:
{{ selected_subject.name }}
Teacher:
{{ session.teacher }}
Date:
{{ session.date|date:"d M Y" }}
Lesson Period:
{{ session.lesson_period }}
Term / Year:
T{{ session.term.term }} / {{ session.academic_year.academic_year }}
{% if is_locked and can_unlock %} {% endif %}
{% csrf_token %} {% if session.time_slot_id %} {% endif %}
Attendance History {% if is_locked and can_unlock %} {% endif %}
{% for reg in students %} {% with rec=records|get_item:reg.student.id %}
{{ reg.student.student_name }}
{{ reg.student.reg_no }}
P A L E
{% endwith %} {% endfor %}
Present: {{ summary.present }}
Absent: {{ summary.absent }}
Late: {{ summary.late }}
Excused: {{ summary.excused }}
Cancel
{% else %}
Select class and subject from your timetable allocations to start attendance.
{% endif %}
{% endblock content %}