mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
Order detail: Do not show expire date for pending approval (Z#23171168) (#4613)
This commit is contained in:
@@ -198,7 +198,7 @@
|
|||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dd>
|
</dd>
|
||||||
{% if order.status == "n" %}
|
{% if order.status == "n" and not order.require_approval %}
|
||||||
<dt>{% trans "Expiry date" %}</dt>
|
<dt>{% trans "Expiry date" %}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{{ order.expires|date:"SHORT_DATETIME_FORMAT" }}
|
{{ order.expires|date:"SHORT_DATETIME_FORMAT" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user