{% extends "core/base.jinja" %} {% block title %} {% trans %}{{ shoppinglist }}'s items{% endtrans %} {% endblock %} {% block content %} {% if current_tab == "stocks" %} {% trans %}Back{% endtrans %} {% endif %}

{{ shoppinglist.name }}

{% for t in ProductType.objects.order_by('name').all() %} {% if shoppinglist.shopping_items_to_buy.filter(type=t) %}

{{ t }}


{% for i in shoppinglist.shopping_items_to_buy.filter(type=t).order_by('name').all() %} {% endfor %}
{% trans %}Name{% endtrans %} {% trans %}Quantity asked{% endtrans %} {% trans %}Quantity bought{% endtrans %}
{{ i.name }} {{ i.tobuy_quantity }} {{ i.bought_quantity }}
{% endif %} {% endfor %}

{% trans %}Other{% endtrans %}


{% trans %}Comments{% endtrans %}
{{ shoppinglist.comment }}
{% endblock %}