forked from CGM_Public/pretix_original
Do not ask people to enter an address if they can't
This commit is contained in:
@@ -265,7 +265,7 @@
|
|||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
{% trans "You need to select a payment method above before you can request an invoice." %}
|
{% trans "You need to select a payment method above before you can request an invoice." %}
|
||||||
</div>
|
</div>
|
||||||
{% 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 %}
|
||||||
<a href="{% eventurl event "presale:event.order.modify" secret=order.secret order=order.code %}?generate_invoice=true"
|
<a href="{% eventurl event "presale:event.order.modify" secret=order.secret order=order.code %}?generate_invoice=true"
|
||||||
class="btn btn-default">
|
class="btn btn-default">
|
||||||
{% trans "Request invoice" %}
|
{% trans "Request invoice" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user