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

{{ "Student Payment Report" | trans }}

{% if (app.request.query)|length > 0 %}
{% if student is not empty or date is not empty %}
{% if student is not empty %}
{% if student is not empty %} Student: {{ student.fName }} {{ student.lName }} {% endif %}
{% endif %} {% if date is not empty %}
{% if date is not empty %} Date: {{ date }} {% endif %}
{% endif %}
{% endif %}
{% endif %}
{% for key,invoice in paidInvoiceByUser %} {% endfor %}
{{ 'Sr.' | trans }} {{ 'Receipt'|trans }} {{ 'Status'|trans }} {{ 'Amount'|trans }} {{ 'Paid Amount'|trans }} {{ 'Due Amount'|trans }} {{ 'Generation Date'|trans }} {{ 'Due Date'|trans }}
{{ key }} {{ invoice.getInvReference }} {{ invoice.getTheInvoiceStatus }} {{ invoice.getTotalAmountOfInvoice }} {{ invoice.getTotalAmountOfInvoice - invoice.getTheInvoiceAmountWhichIsNotPaid }} {{ invoice.getTheInvoiceAmountWhichIsNotPaid }} {{ date_format(invoice.getInvGeneratedDatetime) }} {{ date_format(invoice.getInvDueDate) }}
{% include "pdfPrintAssets/footer.html.twig" %}