{% extends "panel_base.html" %} {% import '_macros.html' as macros %} {% block header_title %}{{gettext("Products")}} | {{get_sitename()}}{% endblock %} {% block title %}{{gettext("Products")}}{% endblock %} {% block content %}
{{gettext("ID")}} | {{gettext("name")}} | {{gettext("price")}} | {{gettext("Number in stock")}} | {{gettext("quantity allocated")}} | {{gettext("settings")}} |
{{p.id}} | {{p.name}} | {{p.price}} | {% if not p.product_type.has_variants %}{{p.variants[0].quantity}}{% endif %} | {% if not p.product_type.has_variants %}{{p.variants[0].quantity_allocated}}{% endif %} | {{gettext("Edit")}} {% if p.product_type.has_variants %} {{gettext("Variants")}} {% endif %} {{gettext("Images")}} |