Fixes for 4 code quality findings in Invoice (#3337)

* Apply suggested fix to src/modules/Invoice/html_client/mod_invoice_print.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Invoice/html_client/mod_invoice_print.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Invoice/html_client/mod_invoice_print.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to src/modules/Invoice/html_client/mod_invoice_print.html.twig from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Adam DaleyandCopilot Autofix powered by AI authored and GitHub committed 2026-03-17 12:10:54 +00:00
1 parent d3ede6abc4
commit 960d951ee7
1 file changed
+8 -6
@@ -82,11 +82,11 @@
{% endif %}
{% if seller.bank_name %}
<dt class="col-sm-6">{{ 'Bank Name'|trans }}:</dt>
<dd class="col-sm-6">{{seller.bank_name}}</dd>
<dd class="col-sm-6">{{ seller.bank_name }}</dd>
{% endif %}
{% if seller.bic %}
<dt class="col-sm-6">{{ 'BIC / SWIFT Code'|trans }}:</dt>
<dd class="col-sm-6">{{seller.bic}}</dd>
<dd class="col-sm-6">{{ seller.bic }}</dd>
{% endif %}
{% if seller.account_number %}
<dt class="col-sm-6">{{ 'Bank Account'|trans }}:</dt>
@@ -123,9 +123,11 @@
{% endif %}
{% if buyer.address %}
<dt class="col-sm-6">{{ 'Address'|trans }}:</dt>
<dd class="col-sm-6">{{ buyer.address }}</dd>
<dd class="col-sm-6">{{ buyer.city }}, {{ buyer.state }}</dd>
<dd class="col-sm-6">{{ buyer.zip }}, {{ guest.system_countries[buyer.country] }}</dd>
<dd class="col-sm-6">
{{ buyer.address }}<br>
{{ buyer.city }}, {{ buyer.state }}<br>
{{ buyer.zip }}, {{ guest.system_countries[buyer.country] }}
</dd>
{% endif %}
{% if buyer.phone %}
<dt class="col-sm-6">{{ 'Phone'|trans }}:</dt>
@@ -148,7 +150,7 @@
<table class="table mt-3">
<thead>
<tr>
<th>{{ '#'|trans }}</th>
<th>{{ '#'|trans }}</th>
<th>{{ 'Title'|trans }}</th>
<th>{{ 'Price'|trans }}</th>
<th class="text-end">{{ 'Total'|trans }}</th>