{% include "pdfPrintAssets/header.html.twig" %}

{{ "Daily Attendance Report" | trans }}

{% if (app.request.query)|length > 0 %}
{% if class is not empty or attendance_status is not empty %}
{% if (class is not empty) %}
{% if class.getname is not empty %} Class: {{ class.getname }} {% endif %}
{% endif %} {% if (attendance_status is not empty) %}
{% if attendance_status.getname is not empty %} Attendance Status: {{ attendance_status.getname }} {% endif %}
{% endif %}
{% endif %}
{% endif %}
{% for attendance in attendances %} {% if isInstanceof(attendance,'attendance') %} {% endif %} {% endfor %}
{{ 'Student Name'|trans }} {{ 'Attendance Status'|trans }}
{{ attendance.user is not empty ? attendance.user.fullname }} {% if attendance.getAttendanceStatustype %} {% set ClassName = 'success' %} {% else %} {% set ClassName = 'danger' %} {% endif %} {{ attendance.getAttendanceStatus is not empty ? attendance.getAttendanceStatus.name }}
{% include "pdfPrintAssets/footer.html.twig" %}