{% extends 'base.html' %} {% block title %}Edytuj listę{% endblock %} {% block content %}

🛠️ Edytuj listę #{{ list.id }}

← Powrót

📄 Podstawowe informacje

🛒 Produkty

{% for item in items %} {% else %} {% endfor %}
Nazwa Status Oznaczenie Usuń
{{ item.name }} (x{{ item.quantity }}) {% if item.purchased %} ✔️ Kupiony {% else %} Nieoznaczony {% endif %}
{% if item.purchased %} {% else %} {% endif %}
Brak produktów.

🧾 Paragony

{% for img in receipts %} {% set file_path = upload_folder ~ '/' ~ img %} {% set file_size = (file_path | filesizeformat) %} {% set upload_time = (file_path | filemtime) %}

{{ img }}

Rozmiar: {{ file_size }}

Wgrano: {{ upload_time.strftime('%Y-%m-%d %H:%M') }}

🗑️ Usuń
{% endfor %}
{% if not receipts %} {% endif %}
{% endblock %}