{% extends "base.html.twig" %} {% block BeforeAnyCSSFile %} {% for file in encore_entry_css_files('select2__init') %} {% endfor %} {% for file in encore_entry_css_files('dateRangepicker__init') %} {% endfor %} {% endblock %} {% block ExtraCSSFiles %}{% endblock %} {% block pageLabel %}{{ 'Attendance List of students' | trans }}{% endblock %} {% block recordLength %}{% endblock %} {% block MainContent %} {% set date = app.request.query.get('date') is empty ? '' : app.request.query.get('date') %} {# filters of the attendance #}
{{ 'Class name'|trans }} | {{ 'Session name'|trans }} | {{ 'Total Number of student'|trans }} | {{ 'No of present student'|trans }} | {{ 'Date'|trans }} |
---|---|---|---|---|
{{ class.name }} | {{ class.getSession.name }} | {{ class.getClassSessionEnrolments|length }} | {{ noOfPresentStudentInClass[class.id] is defined ? noOfPresentStudentInClass[class.id] : 0 }} | {{ date }} |