Order detail: Do not show expire date for pending approval (Z#23171168) (#4613)

This commit is contained in:
Raphael Michel
2024-11-07 09:26:10 +01:00
committed by GitHub
parent 4e283eb560
commit 1e3c6e0b68

View File

@@ -198,7 +198,7 @@
</a>
{% endif %}
</dd>
{% if order.status == "n" %}
{% if order.status == "n" and not order.require_approval %}
<dt>{% trans "Expiry date" %}</dt>
<dd>
{{ order.expires|date:"SHORT_DATETIME_FORMAT" }}