parent
6393cd58cf
commit
a29ad3a7ed
|
@ -54,15 +54,12 @@
|
|||
{{ invoice.creation_date|to_date|date:"j F Y" }}
|
||||
{% if invoice.prelevement_automatique %}
|
||||
<br />
|
||||
{% with expiration_date=invoice.expiration_date|to_date %}
|
||||
Prélèvement automatique
|
||||
{% if expiration_date < now %}
|
||||
effectué
|
||||
{% if invoice.amount|to_decimal %}
|
||||
prévu le {{ invoice.expiration_date|to_date|date:"j F Y" }}
|
||||
{% else %}
|
||||
prévu
|
||||
effectué le {{ invoice.paid_date|to_date|date:"j F Y" }}
|
||||
{% endif %}
|
||||
le {{ expiration_date|date:"j F Y" }}
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
|
Reference in New Issue