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

Finish cooking

{{ recipe.title }} · {{ analysis.servings|floatformat:-2 }} servings prepared

{% if error %}{% endif %}

Nutrition for this recipe

Your Food Diary receives a snapshot of the portion you log. Later recipe edits do not change it.

{% for row in analysis.nutrition_rows %}
{{ row.label }}
{% if row.per_serving is not None %}{{ row.per_serving|floatformat:1 }} {{ row.unit }} / serving{% if not row.complete %}Incomplete estimate{% endif %}{% else %}— Data unavailable{% endif %}
{% endfor %}

Inventory preview

{% 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{% 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 }}
{% endfor %}{% endif %}
{% empty %}

No matched ingredients for inventory use.

{% endfor %}{% if not analysis.stock_ready %}

Inventory use is unavailable until stock and product matches are resolved. Food logging is still available.

Review stock and substitutions{% endif %}
{% if confirmation %}
{% csrf_token %}

Choose what to record

These actions are separate. Cooking a recipe does not mean you ate every serving.

{% endif %}
{% endblock %}