{% extends "base.html" %} {% block content %}
Track what you have on hand. {{ total_count }} item{{ 's' if total_count != 1 else '' }}
| Ingredient | Brand | Qty | Unit | Location | Opened | Location | Expires | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ item.ingredient.name }}
{% if item.notes %}
{{ item.notes }}
{% endif %}
|
{% if item.brand %} {{ item.brand }} {% else %} — {% endif %} | {% if item.quantity is not none and item.quantity <= 0 %} Empty {% else %} {{ item.quantity if item.quantity else '' }} {% endif %} | {% if item.unit %} {{ item.unit }} {% else %} — {% endif %} | {% if item.opened %} Opened {% else %} Sealed {% endif %} | {% if item.storage_location %} {% if item.storage_location == 'Refrigerator' %} {% elif item.storage_location == 'Freezer' %} {% elif item.storage_location == 'Pantry' %} {% elif item.storage_location == 'Counter' %} {% elif item.storage_location == 'Spice Rack' %} {% else %}{% endif %} {{ item.storage_location }} {% else %} — {% endif %} |
{% if item.expiration_date %}
{% if exp_days < 0 %}
Expired
{{ item.expiration_date.strftime('%b %d, %Y') }}
{% elif exp_days == 0 %}
Today!
{% elif exp_days <= 3 %}
{{ exp_days }}d left
{{ item.expiration_date.strftime('%b %d') }}
{% elif exp_days <= 7 %}
{{ exp_days }}d
{{ item.expiration_date.strftime('%b %d') }}
{% else %}
{{ item.expiration_date.strftime('%b %d, %Y') }}
{% endif %}
{% else %}
—
{% endif %}
|
Try adjusting or clearing your search criteria.
Clear Filters {% else %}Start tracking what you have on hand to find matching recipes and build smarter shopping lists.
{% endif %}