Only show "valid VAT ID" checkmark if VAT ID was entered (Z#23235033)

This commit is contained in:
luelista
2026-05-20 19:28:12 +02:00
committed by GitHub
parent f740d46d47
commit 5a28efd274

View File

@@ -1045,7 +1045,7 @@
<dt>{% trans "VAT ID" %}</dt>
<dd>
{{ order.invoice_address.vat_id }}
{% if order.invoice_address.vat_id_validated %}
{% if order.invoice_address.vat_id and order.invoice_address.vat_id_validated %}
<span class="fa fa-check" data-toggle="tooltip" title="{% blocktrans trimmed %}Valid EU VAT ID{% endblocktrans %}"></span>
{% elif order.invoice_address.vat_id %}
<form class="form-inline helper-display-inline" method="post"