{% extends 'planner/base.html' %}{% load static %} {% block title %}Review stock · {{ recipe.title }} · Tasknest{% endblock %} {% block page_class %}recipes-page-content{% endblock %} {% block content %}
← Back to {{ recipe.title }}

Review inventory use

Stock changes only after you confirm below.

{% if error %}{% endif %}

Recipe amounts

{% for line in analysis.lines %}{% if line.substitutions %}{% endif %}{% endfor %}

Ingredient checks

Edit ingredient quantities and product matches

Package deductions

{% if analysis.issues %}{% endif %}{% for group in analysis.groups %}

{{ group.product.product_name }} {{ group.status|capfirst }}

{{ group.stock_amount|floatformat:-3 }} {{ group.unit }} needed{% if group.plan %} · {{ group.plan.total|floatformat:-3 }} {{ group.unit }} available{% if group.plan.shortage %} · {{ group.plan.shortage|floatformat:-3 }} {{ group.unit }} missing{% endif %}{% endif %}

{% if group.plan %}{% for deduction in group.plan.deductions %}
Package {{ deduction.package.api_id|stringformat:'s'|slice:':8' }}{{ deduction.before|floatformat:-3 }} → {{ deduction.after|floatformat:-3 }} {{ deduction.unit }}
Use {{ deduction.amount|floatformat:-3 }} {{ deduction.unit }}{% if deduction.package.best_before %} · Best before {{ deduction.package.best_before }}{% endif %}
{% empty %}

No compatible packages.

{% endfor %}{% endif %}
{% empty %}

Match ingredients to inventory products to see a package plan.

{% endfor %}

Confirm inventory use

{% if confirmation %}

This deducts the listed amounts from Kitchen Inventory. It does not log food in your diary.

{% csrf_token %}
{% else %}

Resolve missing stock or unknown matches, then update the preview before confirming.

{% endif %}
{% endblock %}