From 960d951ee706ac8f3f871c097a9b1e5801fa53e9 Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Tue, 17 Mar 2026 12:10:54 +0000 Subject: [PATCH] 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> --- .../html_client/mod_invoice_print.html.twig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/modules/Invoice/html_client/mod_invoice_print.html.twig b/src/modules/Invoice/html_client/mod_invoice_print.html.twig index e1a25567e..e5222e9eb 100644 --- a/src/modules/Invoice/html_client/mod_invoice_print.html.twig +++ b/src/modules/Invoice/html_client/mod_invoice_print.html.twig @@ -82,11 +82,11 @@ {% endif %} {% if seller.bank_name %}
{{ 'Bank Name'|trans }}:
-
{{seller.bank_name}}
+
{{ seller.bank_name }}
{% endif %} {% if seller.bic %}
{{ 'BIC / SWIFT Code'|trans }}:
-
{{seller.bic}}
+
{{ seller.bic }}
{% endif %} {% if seller.account_number %}
{{ 'Bank Account'|trans }}:
@@ -123,9 +123,11 @@ {% endif %} {% if buyer.address %}
{{ 'Address'|trans }}:
-
{{ buyer.address }}
-
{{ buyer.city }}, {{ buyer.state }}
-
{{ buyer.zip }}, {{ guest.system_countries[buyer.country] }}
+
+ {{ buyer.address }}
+ {{ buyer.city }}, {{ buyer.state }}
+ {{ buyer.zip }}, {{ guest.system_countries[buyer.country] }} +
{% endif %} {% if buyer.phone %}
{{ 'Phone'|trans }}:
@@ -148,7 +150,7 @@ - +
{{ '#'|trans }}{{ '#'|trans }} {{ 'Title'|trans }} {{ 'Price'|trans }} {{ 'Total'|trans }}