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

{% for k, v in app.request.query %} {% if k|lower not in ['search', 'page', 'from_date', 'to_date'] %} {% endif %} {% endfor %}
New
Displaying {{ (sales_item_categories.getCurrentPageNumber()-1) * sales_item_categories.getItemNumberPerPage() + 1 }} to {{ ((sales_item_categories.getCurrentPageNumber()-1) * sales_item_categories.getItemNumberPerPage()) + (sales_item_categories.getItems()|length) }} of {{ sales_item_categories.getTotalItemCount() }} Sales Item Category records
{% endblock page_header %} {% block content %}
{% for entity in sales_item_categories %} {% endfor %}
{{ knp_pagination_sortable(sales_item_categories, 'Active', 'ic.status') }} {{ knp_pagination_sortable(sales_item_categories, 'Code', 'ic.code') }} {{ knp_pagination_sortable(sales_item_categories, 'Description', 'ic.category_description') }} {{ knp_pagination_sortable(sales_item_categories, 'Shop Visible', 'ic.shop_visible') }} Count
{{ with_selected_checkbox('salesitemcat_list', entity.id) }} {{ entity.status ? 'Active' : 'Inactive' }} {{ entity.code }} {{ entity.categoryDescription }} {{ entity.shopVisible ? 'Active' : 'Inactive' }} {{ attribute(ItemCounts, entity.id) }}
{% endblock content %}