{% include "pdfPrintAssets/header.html.twig" %}
{% 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 %}
{{ 'User name'|trans }} |
{{ 'Date'|trans }} |
{{ 'Payment method'|trans }} |
{{ 'Description'|trans }} |
{{ 'Amount in'|trans }} |
{{ 'Amount out'|trans }} |
{% for trans in trans__ls %}
{# invoice #}
{{ 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 }} |
{% endfor %}
{% include "pdfPrintAssets/footer.html.twig" %}