{{ shopping.to_buy }} items to buy{{ shopping.in_pantry }} covered by pantryEstimated total {{ currency }}{{ shopping.total|floatformat:2 }}
{% for g in shopping.groups %}

{{ g.title }} {{ currency }}{{ g.subtotal|floatformat:2 }}

{% for i in g.items %} {% endfor %}
{{ i.name|capfirst }}{% for e in i.extras %} {{ e }}{% endfor %} need {{ i.need_text }}{% if i.have_text %} ยท pantry {{ i.have_text }}{% endif %} {% if i.covered and i.have_grams %}in pantry{% else %}{{ i.buy_text }}{% endif %} {% if i.cost %}{{ currency }}{{ i.cost|floatformat:2 }}{% endif %}
{% endfor %}