{% extends 'D2BillingBundle::base_admin.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block page_header %}
{{ with_selected_form('discounts_list') }}

{% for k, v in app.request.query %} {% if k|lower not in ['search', 'page'] %} {% endif %} {% endfor %}
New
Displaying {{ (discounts.getCurrentPageNumber()-1) * discounts.getItemNumberPerPage() + 1 }} to {{ ((discounts.getCurrentPageNumber()-1) * discounts.getItemNumberPerPage()) + (discounts.getItems()|length) }} of {{ discounts.getTotalItemCount() }} Credit Limit records
{% endblock page_header %} {% block content %}
{% for entity in discounts %} {% endfor %}
{{ knp_pagination_sortable(discounts, 'Active', 'd.status') }} {{ knp_pagination_sortable(discounts, 'Code', 'd.code') }} {{ knp_pagination_sortable(discounts, 'Description', 'd.description') }} {{ knp_pagination_sortable(discounts, 'Percent', 'd.percent') }}
{{ with_selected_checkbox('discounts_list', entity.id) }} {{ entity.status ? 'Active' : 'Inactive' }} {{ entity.code }} {{ entity.description }} {{ entity.percent }} %
{% endblock content %}