{% extends 'D2BillingBundle::layout.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block head_style_extra %} {% endblock head_style_extra %} {% block page_header %}

{% for k, v in app.request.query %} {% if k|lower not in ['from_date', 'to_date', 'account', 'search', 'page'] %} {% endif %} {% endfor %}
{% if pagination == 'emptyfilters' %}
Please select from the above filters to generate a report.
{% else %}
Displaying {{ (pagination.getCurrentPageNumber()-1) * pagination.getItemNumberPerPage() + 1 }} to {{ ((pagination.getCurrentPageNumber()-1) * pagination.getItemNumberPerPage()) + (pagination.getItems()|length) }} of {{ pagination.getTotalItemCount() }} Sales Report records
{% endif %}
{% endblock page_header %} {% block content %}
{% if pagination != 'emptyfilters' %} {% include 'D2BillingBundle:SalesReport:list.html.twig' with {'pagination': pagination} %} {% endif %}
{% endblock content %}