{% extends "pantry/frame.html" %} {% block title %}Pantry stock · Cookbook & Pantry{% endblock %} {% block pantry_body %}

Pantry stock

Track batches separately for different locations and dates. Pantry checks use batches dated today or later, plus undated stock.

Add a batch
{% if batches %}
{% for batch in batches %}

{{ batch.name }}

{{ fmt(batch.qty) }} {{ batch.unit }}{% if batch.location %} · {{ batch.location }}{% endif %}

{% if batch.expires %}

{% if batch.expires < today %} · Past date{% elif batch.expires <= soon %} · Due within three days{% endif %}

{% else %}

Undated

{% endif %} Edit batch
{% endfor %}
{% else %}

Add your first batch to start checking recipes against what you have.

{% endif %} {% endblock %}