fix payment link display (#8511)
This commit is contained in:
parent
0ab4585e66
commit
47c5586b84
|
@ -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 }}" />
|
||||
|
|
Reference in New Issue