lingo: add payment due date to invoice view (#13694)

This commit is contained in:
Frédéric Péters 2016-10-20 11:09:27 +02:00
parent c95b5162fc
commit e2c5387326
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
</div>
{% endif %}
<div class="issued">{% trans "Issued on:" %} <span class="timestamp">{{ item.creation_date|date:"SHORT_DATE_FORMAT" }}</span></div>
{% if item.payment_limit_date %}
<div class="invoice-payment-limit-date">{% trans "Payment due date:" %}
<span class="timestamp">{{ item.payment_limit_date|date:"SHORT_DATE_FORMAT" }}</span></div>
{% endif %}
{% if item.payment_date %}
<div class="paid">{% trans "Payed on:" %} <span class="timestamp">{{ item.payment_date|date:"SHORT_DATE_FORMAT" }}</span></div>
{% endif %}