diff --git a/templates/lingo/combo/item.html b/templates/lingo/combo/item.html new file mode 100644 index 0000000..4bf416e --- /dev/null +++ b/templates/lingo/combo/item.html @@ -0,0 +1,29 @@ +
+
+

+ Facture numéro {{ item.display_id }} +

+
+
+

Libellé {{ item.subject }} +

+

Montant total {{item.total_amount }}€ +

+ {% if item.amount %} +

Montant restant à payer: {{ item.amount }}€ +

+ {% endif %} +

Emise le {{ item.creation_date|date:"SHORT_DATE_FORMAT" }}

+ {% if item.payment_date %} +

Payée le {{ item.payment_date|date:"SHORT_DATE_FORMAT" }}

+ {% endif %} + {% if item.amount %} + {% csrf_token %} + + + + {% endif %} +
+
+
+
diff --git a/templates/lingo/combo/items.html b/templates/lingo/combo/items.html new file mode 100644 index 0000000..d1028e7 --- /dev/null +++ b/templates/lingo/combo/items.html @@ -0,0 +1,37 @@ +{% load i18n %} + +

{{ title|safe }}

+{% if items %} + + + + + + + + + + + + {% for item in items %} + + + + + + + + {% endfor %} + +
NuméroLibelléDate d'émissionMontant(TTC)
{{ item.display_id }}{{ item.subject }}{{ item.creation_date|date:"SHORT_DATE_FORMAT" }}{% blocktrans with amount=item.total_amount %} + {{ amount }}€ + {% endblocktrans %} + + Voir + {% if item.has_pdf %} / + Télécharger + {% endif %} +
+{% else %} +Aucune facture +{% endif %}