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">
|
||||
{% trans "You need to select a payment method above before you can request an invoice." %}
|
||||
</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"
|
||||
class="btn btn-default">
|
||||
{% trans "Request invoice" %}
|
||||
|
||||
Reference in New Issue
Block a user