{{ 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