From 1e3c6e0b68517adc45245943b18fc1b5da1782d6 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 7 Nov 2024 09:26:10 +0100 Subject: [PATCH] Order detail: Do not show expire date for pending approval (Z#23171168) (#4613) --- src/pretix/control/templates/pretixcontrol/order/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/control/templates/pretixcontrol/order/index.html b/src/pretix/control/templates/pretixcontrol/order/index.html index 889ffc8b0..af221e38e 100644 --- a/src/pretix/control/templates/pretixcontrol/order/index.html +++ b/src/pretix/control/templates/pretixcontrol/order/index.html @@ -198,7 +198,7 @@ {% endif %} - {% if order.status == "n" %} + {% if order.status == "n" and not order.require_approval %}
{% trans "Expiry date" %}
{{ order.expires|date:"SHORT_DATETIME_FORMAT" }}