mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Don't offer to check empty VAT ID (#1044)
This commit is contained in:
committed by
Raphael Michel
parent
a2acd336eb
commit
d3137505a1
@@ -565,7 +565,7 @@
|
|||||||
{{ order.invoice_address.vat_id }}
|
{{ order.invoice_address.vat_id }}
|
||||||
{% if order.invoice_address.vat_id_validated %}
|
{% if order.invoice_address.vat_id_validated %}
|
||||||
<span class="fa fa-check" data-toggle="tooltip" title="{% blocktrans trimmed %}Valid EU VAT ID{% endblocktrans %}"></span>
|
<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"
|
<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 %}">
|
action="{% url "control:event.order.checkvatid" event=request.event.slug organizer=request.event.organizer.slug code=order.code %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|||||||
Reference in New Issue
Block a user