{% 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 recordLength %}{{ trans__ls | length }}{% endblock %} {% block MainContent %} {# Search invoice #} {# search invoice block#}

{{ 'Search transaction'|trans }}

{# Payment is income or expense #}
{# Register user #}
{# Description filter #}
{# transaction id #}
{# Date Range filter #}
{# transaction amount #}
{# Payment method #}
{# user list #}
{# Register user #}
{# UnRegister user #}
  {{ 'Print' | trans }}  
{# Invoice list #}
{% for trans in trans__ls %} {# invoice #} {% endfor %}
{{ 'User name'|trans }} {{ 'Date'|trans }} {{ 'Payment method'|trans }} {{ 'Description'|trans }} {{ 'Amount in'|trans }} {{ 'Amount out'|trans }}
{{ 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 }}
{% endblock %} {% block ExtraJsFIles %} {% for file in encore_entry_js_files('accounts') %} {% endfor %} {% endblock %}