{% extends "base.html.twig" %} {% block BeforeAnyCSSFile %} {% endblock %} {% block ExtraCSSFiles %} {% endblock %} {% block pageLabel %} {{ 'Student List' | trans }} {% endblock %} {% block recordLength %} {% endblock %} {# {% block ContentHead %}#} {# {% endblock %}#} {% block MainContent %} {% set date = app.request.query.get('date') is empty ? 'now'|date('d/m/Y') ~ ' / ' ~ 'now'|date('d/m/Y') : app.request.query.get('date') %} {# filters of the attendance #}

{{ 'Filter Attendance of '|trans }} {{ app.request.attributes.get('Uname') }}

{# search attendance marking date duration #}
{{ 'Print'|trans }}
{# Active class with their session and number of student present and absent#}
{% for attendance in attendanceReportOfAClass %} {% endfor %}
{{ 'Class name'|trans }} {{ 'Subject name'|trans }} {{ 'Comments'|trans }} {{ 'Attendance Status'|trans }} {{ 'Marked By'|trans }}
{{ attendance.getClassSessionEnrolment.getClassSession.name is defined ? attendance.getClassSessionEnrolment.getClassSession.name: '' }} {{ attendance.getClassSessionEnrolmentSubject.getClassSubject.getSubjectName is defined ? attendance.getClassSessionEnrolmentSubject.getClassSubject.getSubjectName:'' }} {{ attendance.getComments }} {{ attendance.getAttendanceStatus.name }} {{ attendance.getBlameUser.getFullName }}
{% endblock %} {% block ExtraJsFIles %} {% for file in encore_entry_js_files('attendance') %} {% endfor %} {% endblock %}