fix payment link display (#8511)

This commit is contained in:
Serghei Mihai 2015-10-09 14:17:37 +02:00
parent 0ab4585e66
commit 47c5586b84
1 changed files with 2 additions and 2 deletions

View File

@ -26,10 +26,10 @@
</div>
{% endif %}
<div class="issued">{% trans "Issued on:" %} {{ item.creation_date|date:"SHORT_DATE_FORMAT" }}</div>
{% if item.online_payment and item.payment_date %}
{% if item.payment_date %}
<div class="paid">{% trans "Payed on:" %} {{ item.payment_date|date:"SHORT_DATE_FORMAT" }}</div>
{% endif %}
{% if item.amount >= regie.payment_min_amount %}
{% if item.online_payment and item.amount >= regie.payment_min_amount %}
{% csrf_token %}
<input type="hidden" name="regie" value="{{ regie.pk }}" />
<input type="hidden" name="item" value="{{ item.id }}" />