{% extends "base.html.twig" %} {% block BeforeAnyCSSFile %} {% for file in encore_entry_css_files('select2__init') %} {% endfor %} {% for file in encore_entry_css_files('dateRangepicker__init') %} {% endfor %} {% endblock %} {% block ExtraCSSFiles %} {% endblock %} {% set pagename = 'Incomes' | trans %} {% set addBtnTitle = 'Add Instant Income?' | trans %} {% set addBtnLink = path('account_payment') %} {% block MainContent %} {% set date = app.request.query.get('date') is empty ? '' : app.request.query.get('date') %}
{# invoice list #}{{ 'Invoice#'|trans }} | {{ 'Student Name'|trans }} | {{ 'Class'|trans }} | {{ 'Payment Method'|trans }} | {{ 'Income Head'|trans }} | {{ 'Account'|trans }} | {{ 'Date'|trans }} | {{ 'Amount'|trans }} |
---|---|---|---|---|---|---|---|
{{ income.invoicereference is not empty ? income.invoicereference.invreference }} | {% 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.paymentmethodreference.pmtype }} | {{ income.incomehead.ahname }} | {{ income.accountsreference.accname }} | {{ date_format(income.transdatetime) }} | {{ getAppSetting('currencyPreFix') ~' '~ income.amount ~ ' ' ~ getAppSetting('currencySuffex') }} |