{% extends 'base.html' %} {% block title %}Produkty i sugestie{% endblock %} {% block content %}

🛍️ Produkty i sugestie

← Powrót do panelu

📦 Produkty (z synchronizacją sugestii)

{{ items|length }} produktów
{% for item in items %} {% endfor %} {% if items|length == 0 %} {% endif %}
ID Nazwa Dodana przez Sugestia Akcje
{{ item.id }} {{ item.name }} {% if item.added_by %} {{ users_dict.get(item.added_by, 'Nieznany') }} {% else %} Gość {% endif %} {% set suggestion = suggestions_dict.get(item.name.lower()) %} {% if suggestion %} ✅ Istnieje (ID: {{ suggestion.id }}) {% else %} {% endif %} 📄 Zobacz listę
Brak produktów do wyświetlenia.
{% block scripts %} {% endblock %} {% endblock %}