Don't offer to check empty VAT ID (#1044)

This commit is contained in:
Tobias Kunze
2018-10-17 01:50:24 +02:00
committed by Raphael Michel
parent a2acd336eb
commit d3137505a1

View File

@@ -565,7 +565,7 @@
{{ order.invoice_address.vat_id }}
{% if order.invoice_address.vat_id_validated %}
<span class="fa fa-check" data-toggle="tooltip" title="{% blocktrans trimmed %}Valid EU VAT ID{% endblocktrans %}"></span>
{% else %}
{% elif order.invoice_address.vat_id %}
<form class="form-inline helper-display-inline" method="post"
action="{% url "control:event.order.checkvatid" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}">
{% csrf_token %}