Hi Guys,
We have hit a brick wall and cannot resolve an edit we need in the Invoice pdf display.
The client details currently display in the pdf invoice as this -
The TestCity, TestState, and Postcode need to all be on one line along with the AU identifier removed to display as this image below -
We have played around with this code in a custom-pdf.twig we created but as mentioned no idea what to do.
<h3 class='ClientInfo'>{{ 'Client'|trans }}</h3>
<div class='ClientInfo'>
<p>
{% for key, value in buyer %}
{% if key == 'Company' %}<b>{% endif %}
{% if key == 'Phone '%} {{ 'Phone'|trans }} :{% endif %}
{{ value }}<br>
{% if key == 'Company' %}</b>{% endif %}
{% endfor %}
</p>
</div>
Can anyone assist with direction on where and how to sort this address display out.
We are happy to create a custom.twig file if that is needed.
Cheers and many thanks for the assist