{% load simpelcore_tags %} {% regroup object.items.all by group_verbose as group_list %} {% for group in group_list %} {% if show_group %} {{ group.grouper }} {% endif %} {% for item in group.list %} {{ item.inner_id }} {{ item.product.name }} {{ item.subtotal|currency }} {{ item.quantity }} {{ item.product.unit }} {{ item.total|currency }} {% endfor %} {% block summary %}{% endblock summary %} {% endfor %}