From 072052fbdf3d4c2f27fa5a650a486d91cbb40a36 Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Fri, 26 Sep 2014 11:20:22 +0200 Subject: [PATCH] =?UTF-8?q?notification=20si=20la=20facture=20est=20pass?= =?UTF-8?q?=C3=A9=20en=20perception?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #5413 --- facturier/templates/facturier/tipi.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/facturier/templates/facturier/tipi.html b/facturier/templates/facturier/tipi.html index 6c28d5c..53c88c6 100644 --- a/facturier/templates/facturier/tipi.html +++ b/facturier/templates/facturier/tipi.html @@ -100,9 +100,13 @@ {% elif invoice.expired %}

- Cette facture est expirée depuis le - {{ invoice.expiration_date|iso8601|date:"l j F Y" }} : - vous ne pouvez plus la payer en ligne. + {% if invoice.date_passage_perception %} + Cette facture est passée en perception : vous ne pouvez pas la payer en + ligne + {% else %} + Cette facture passera prochainement en perception  : + vous ne pouvez plus la payer en ligne. + {% endif %}

{% elif invoice.amount|decimal < 1.0 %}