{% extends 'planner/base.html' %}{% load static %} {% block title %}Kitchen Inventory · Tasknest{% endblock %} {% block content %}

Kitchen Inventory

What you have and where it lives.

+ Add item
{% for item in items %}{% if sort == 'location' %}{% ifchanged item.location_id %}

{{ item.location.name }}

{% endifchanged %}{% endif %}
{% if item.product.image_url %}{% endif %}

{{ item.product.product_name }}

{% if item.product.brand %}

{{ item.product.brand }}

{% endif %}

Qty: {{ item.quantity }} · {{ item.location.name }}{% if item.category %} · {{ item.category.name }}{% endif %}

{% if item.opened %}Opened{% endif %}{% if item.best_before %}{% if item.best_before < today %}Expired{% elif item.best_before <= soon_date %}Use soon{% else %}Best before{% endif %} {{ item.best_before }}{% endif %}
{% csrf_token %}
Edit
{% empty %}

No inventory items found.

Add your first item
{% endfor %}
{% endblock %}