{% include "pdfPrintAssets/header.html.twig" %}
{% if (app.request.query)|length > 0 %}
{% if paymentMethod is not empty or accountHead is not empty %}
{% if paymentMethod is not empty %}
{% if paymentMethod is not empty %}
Payment Method: {{ paymentMethod.pmtype }}
{% endif %}
{% endif %}
{% if accountHead is not empty %}
{% if accountHead is not empty %}
Income head: {{ accountHead.ahname }}
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{{ 'Ref#'|trans }} |
{{ 'Paid By'|trans }} |
{{ 'Class'|trans }} |
{{ 'Account Head'|trans }} |
{{ 'Date'|trans }} |
{{ 'Amount'|trans }} |
{% for key,income in transactionsAsIncome %}
{{ key + 1 }} |
{% if income.getTransPaidTo is not empty %}
{{ income.getTransPaidTo.getFullName }}
{% endif %}
|
{% if income.getInvoiceReference is not empty and income.getInvoiceReference.id is not empty %}
{% if income.getInvoiceReference.getClassSessionEnrolment is not empty and income.getInvoiceReference.getClassSessionEnrolment.id != 0 %}
{% if income.getInvoiceReference.getClassSessionEnrolment.getClassSession is not empty and income.getInvoiceReference.getClassSessionEnrolment.getClassSession.id != 0 %}
{{ income.getInvoiceReference.getClassSessionEnrolment.getClassSession.name }}
{% endif %}
{% endif %}
{% endif %}
|
{{ income.getAccountsReference.getAccName }} |
{{ date_format(income.getTransDatetime) }} |
{{
getAppSetting('currencyPreFix') ~' '~ income.amount }}
{% if getAppSetting('currencySuffex') is not empty %}
{{ getAppSetting('currencySuffex') }}
{% endif %}
|
{% endfor %}
{% include "pdfPrintAssets/footer.html.twig" %}