{% if pagination == 'emptyfilters' %}
Please select from the above filters to generate a report. |
There are currently no records to show |
{{ knp_pagination_sortable(pagination, 'Date', 't.date')|raw }} | {{ knp_pagination_sortable(pagination, 'Account No', 't.account_number')|raw }} | {{ knp_pagination_sortable(pagination, 'Account', 't.account_name')|raw }} | {{ knp_pagination_sortable(pagination, 'Invoice No', 't.invoice_number')|raw }} | {{ knp_pagination_sortable(pagination, 'Description', 't.description')|raw }} | Inventory | Category | {{ knp_pagination_sortable(pagination, 'Amount', 't.total')|raw }} | Date | Account No | Account | Invoice No | Description | Inventory | Category | Amount | {% endif %} {% set grand_total = 0 %} {% for entity in pagination %}
---|---|---|---|---|---|---|---|
{{ entity.date|date('Y-m-d') }} | {% if show_links %} {{ entity.account_number | trim }} {% else %} {{ entity.account_number | trim }} {% endif %} | {% if show_links %} {{ entity.account_name | trim }} {% else %} {{ entity.account_name | trim }} {% endif %} | {% if show_links %} {{ entity.invoice_number | trim }} {% else %} {{ entity.invoice_number | trim }} {% endif %} | {{ entity.description | trim }} |
{% if ',' not in entity.category_item_ids %}
{{ entity.category_item | trim}}
{% else %}
Mixed ![]() |
{% if ',' not in entity.category_ids %}
{{ entity.category_description | trim}}
{% else %}
Mixed ![]() |
{{ entity.total | number_format(2, '.', ' ') | trim('-') }} | {% set grand_total = grand_total + entity.total %}
Grand Total | {{ grand_total | number_format(2, '.', ' ') | trim('-') }} |