{# articles (tableau de dictionnaires) * tableau de "article" * id_article, nom, type_article_id, prix * option : * stock , * nb_avis , * nb_declinaisons #} {% extends 'client/layout_client.html' %} {% block title %}
nom | id | prix | stock | nb déclinaisons | image | opération | |
---|---|---|---|---|---|---|---|
{{ ligne.nom }} | {{ ligne.id_article }} | {#{ ligne.prix }#} {{ "{:,.2f} €".format(ligne.prix) }} | {% if ligne.stock is defined %} {% if ligne.stock > 0 %} {{ ligne.stock }} {% else %} article momentanément indisponible {% endif %} {% else %} ND {% endif %} | {#{{ ligne.date_create }} {{ ligne.date_create.strftime('%d-%m-%Y') }} | #}{% if ligne.nb_declinaisons is defined %} {{ ligne.nb_declinaisons }} {% else %} decli ND {% endif %} |
{% if ligne.image is not none %}
![]() |
|
pas d'article |