From 4146437380617aa887fc5d2d774186a62dbbc095 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 25 Oct 2022 09:23:46 +0200 Subject: [PATCH] Do not ask people to enter an address if they can't --- src/pretix/presale/templates/pretixpresale/event/order.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/order.html b/src/pretix/presale/templates/pretixpresale/event/order.html index 11911fed5..bf1d090cd 100644 --- a/src/pretix/presale/templates/pretixpresale/event/order.html +++ b/src/pretix/presale/templates/pretixpresale/event/order.html @@ -265,7 +265,7 @@
{% trans "You need to select a payment method above before you can request an invoice." %}
- {% elif invoice_address_asked and order.invoice_address.is_empty %} + {% elif invoice_address_asked and order.invoice_address.is_empty and order.can_modify_answers %} {% trans "Request invoice" %}