# Nach Update wird in der Rechnung ein "Sehr geehrter Herr" direkt vor dem Vornamen eingefügt

**URL:** <https://forum.shopware.com/t/nach-update-wird-in-der-rechnung-ein-sehr-geehrter-herr-direkt-vor-dem-vornamen-eingefuegt/96401>\
**Category:** Administration\
**Created:** [26. September 2022 um 20:59 UTC](https://forum.shopware.com/t/nach-update-wird-in-der-rechnung-ein-sehr-geehrter-herr-direkt-vor-dem-vornamen-eingefuegt/96401 "2022-09-26T20:59:23Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Klimax](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@Klimax](https://forum.shopware.com/u/Klimax)\
**Post date:** [6. Oktober 2022 um 17:20 UTC](https://forum.shopware.com/t/nach-update-wird-in-der-rechnung-ein-sehr-geehrter-herr-direkt-vor-dem-vornamen-eingefuegt/96401/9 "2022-10-06T17:20:52Z")

</div>

Das habe ich jetzt mal in der Datei „base.html.twig“ geändert und trotzdem wird "Sehr geehrte " angezeigt. Wo hast du es denn angepasst?

Nachtrag:  
Habe die falsche base.html.twig genommen. Wenn ihr das Plugin zum Erweitern der Templates benutzt, dann müsst ihr auf den Reiter „Dokumente“ gehen und in die base.html.twig folgenden Code platzieren:

```auto
 {% block document_recipient %}
                {# @deprecated tag:v6.5.0 - Will be removed #}
                {% block document_recipient_sender %}{% endblock %}

                {% if billingAddress.company %}
                    {{ billingAddress.company }}<br>
                {% endif %}
                {% if customer.customer.vatIds and billingAddress.country.companyTax.getEnabled and config.displayAdditionalNoteDelivery and billingAddress.country.id in config.deliveryCountries %}
                    {{ 'document.vatId'|trans({'%vatId%': customer.customer.vatIds|first})|sw_sanitize }}<br>
                {% endif %}
                {{ billingAddress.firstName }} {{ billingAddress.lastName }}<br>
                {{ billingAddress.street }}<br>
                {% if billingAddress.additionalAddressLine1 %}
                    {{ billingAddress.additionalAddressLine1 }}<br>
                {% endif %}
                {% if billingAddress.additionalAddressLine2 %}
                    {{ billingAddress.additionalAddressLine2 }}<br>
                {% endif %}
                {{ billingAddress.zipcode }} {{ billingAddress.city }}<br>
                {{ billingAddress.country.name }}<br>
{% endblock %}

```

---

_[View the full topic](https://forum.shopware.com/t/nach-update-wird-in-der-rechnung-ein-sehr-geehrter-herr-direkt-vor-dem-vornamen-eingefuegt/96401)._
