{% 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 = 'Expenses' | trans %} {% set addBtnTitle = 'Add new Expense?' | trans %} {% set addBtnLink = path('transactions_expense') %} {% block MainContent %} {% set date = app.request.query.get('date') is empty ? '' : app.request.query.get('date') %}
{# search invoice block#}
{# Search filter head #}

{{ 'Filter Expense'|trans }} {# dropdown #}

{# filters #}
{# search attendance marking date duration #}
{# Income head #}
{# Payment method #}
    {{ 'Print' | trans }}     {{ 'Clear'|trans }}
{# invoice list #}
{% for key,income in transactionsAsIncome %} {% endfor %}
{{ 'Trans#'|trans }} {{ 'Date'|trans }} {{ 'Payment Method'|trans }} {{ 'Expense Head'|trans }} {{ 'Description'|trans }} {{ 'Paid To'|trans }} {{ 'Amount'|trans }}
{{ income.transreference }} {{ date_format(income.getTransDatetime) }} {{ income.paymentmethodreference.pmtype }} {{ income.incomehead.ahname }} {{ income.getTransDescription }} {% if income.getTransPaidTo is empty or income.getTransPaidTo.id is empty %} {# invoice has been paid to unregister user #} {{ income.getunregisterpaidtouser }} {% else %} {# invoice has been paid to the register user #} {{ income.getTransPaidTo.getFullName }} {% endif %} {{ getAppSetting('currencyPreFix') ~' '~ income.amount ~ ' ' ~ getAppSetting('currencySuffex') }}
{% endblock %} {% block ExtraJsFIles %} {% for file in encore_entry_js_files('accounts') %} {% endfor %} {% for file in encore_entry_js_files('dateRangepicker__init') %} {% endfor %} {% endblock %}