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

{{ 'Exam Report' | trans }}

{% if exam is defined %}
{% if exam is not empty %} {% if exam.getExamName is not empty %} Exam: {{ exam.getExamName }} {% endif %} {% endif %}
{% endif %}
{% if class is defined %} {% if (class is not empty) %} {% if class.getname is not empty %} Class: {{ class.getname }} {% endif %} {% endif %} {% endif %}
{% for trans in trans__ls %} {# invoice #} {% endfor %}
{{ 'User name'|trans }} {{ 'Date'|trans }} {{ 'Payment method'|trans }} {{ 'Description'|trans }} {{ 'Amount in'|trans }} {{ 'Amount out'|trans }}
{{ trans.getTransPaidTo is empty ? trans.getUnregisterPaidToUser : trans.getTransPaidTo.fullName }} {{ date_format(trans.transDatetime) }} {{ trans.paymentMethodReference.pmType is not empty ? trans.paymentMethodReference.pmType }} {{ trans.transDescription }} {{ trans.getIsExpenseOrIncome ? trans.amount : 0 }} {{ trans.getIsExpenseOrIncome ? 0 : trans.amount }}
{% include "pdfPrintAssets/footer.html.twig" %}