{% 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 #}

{{ 'Filter Recrods'|trans }}  

{# Mark attendance of the date of #}
{# search by class #}
{# Active class with their session and number of student present and absent#}

{{ 'Classes List'|trans }}

{% for class in activeClassesWithSession %} {% endfor %}
{{ '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 }}
{% endblock %} {% block ExtraJsFIles %} {% for file in encore_entry_js_files('dateRangepicker__init') %} {% endfor %} {% for file in encore_entry_js_files('select2__init') %} {% endfor %} {% endblock %}