# Rechnung kaputt, wenn Lieferadresse im Seitenumbruch steckt

**URL:** <https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080>\
**Category:** Shopware 6 (German)\
**Created:** [23. April 2025 um 13:04 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080 "2025-04-23T13:04:04Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [23. April 2025 um 13:04 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/1 "2025-04-23T13:04:04Z")

</div>

Ich nehme wahr, dass im SW-Standard die Rechnung nicht mehr korrekt gerendert wird, wenn die Lieferadresse im Seitenumbruch steckt. Mache ich einen Fehler? Wie fixt Ihr das? (ich erspar Euch mal die vollen 14 Seiten Rechnung)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/a/4/a4df4ebd5cf93a0b5426099ff2b557cb1cd6198a.png)

---

<div class="post-metadata">

**Author:** ![windes](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@windes](https://forum.shopware.com/u/windes)\
**Post date:** [25. April 2025 um 06:24 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/2 "2025-04-25T06:24:51Z")

</div>

Hallo,  
ich habe das Template base.html.twig bearbeitet.

```auto
{% sw_extends '@Framework/documents/base.html.twig' %}
{% block document_body %}
        {% set position = 1 %}
        {% set prefix = '' %}
        {% set level = 0 %}

        {% for lineItem in nestedLineItems %}
            {{ block('loop') }}

            {% set position = position + 1 %}
        {% endfor %}
        
        {{ block('summary') }}
        
        {{ block('shipping_address') }}

        {{ block('payment_shipping') }}

        {{ block('comment') }}

    {% endblock %}

```

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [25. April 2025 um 06:38 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/3 "2025-04-25T06:38:26Z")

</div>

@windes Danke, schaue ich mir an

---

<div class="post-metadata">

**Author:** ![windes](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@windes](https://forum.shopware.com/u/windes)\
**Post date:** [25. April 2025 um 06:50 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/4 "2025-04-25T06:50:37Z")

</div>

Es stellt sich mir allerdings die Frage, warum das plötzlich auftritt!

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [25. April 2025 um 07:10 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/5 "2025-04-25T07:10:18Z")

</div>

@windes ich fühle mich gerade unfassbar gut, weil ein anderer Mensch das Problem auch sieht. Ursache vollkommen unklar.

---

<div class="post-metadata">

**Author:** ![windes](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@windes](https://forum.shopware.com/u/windes)\
**Post date:** [25. April 2025 um 07:23 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/6 "2025-04-25T07:23:32Z")

</div>

Man muss zur Entlastung der SW Entwickler sagen, dass sich ein PDF Dokumente sehr schwer fixen lassen.  
Angefangen hat es, als die HTML-Variante hinzugekommen ist.

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [25. April 2025 um 07:50 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/7 "2025-04-25T07:50:02Z")

</div>

> [@windes](#):
>
> Angefangen hat es, als die HTML-Variante hinzugekommen ist.

was genau meinst du?

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [30. April 2025 um 06:38 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/8 "2025-04-30T06:38:08Z")

</div>

Fehler ist bekannt, fix s. [fix: prevent empty pages in invoice document by lacknere · Pull Request #8390 · shopware/shopware · GitHub](https://github.com/shopware/shopware/pull/8390/commits/dd1ae88d70fc9dd1794ef2cd7f78552ad0bb4c82)

---

<div class="post-metadata">

**Author:** ![billie.bell](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@billie.bell](https://forum.shopware.com/u/billie.bell)\
**Post date:** [1. Mai 2025 um 15:12 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/9 "2025-05-01T15:12:13Z")

</div>

Das gleiche bei uns im Shop.

---

<div class="post-metadata">

**Author:** ![frip-tech.de](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frip-tech.de/32/24453_2.png) [@frip-tech.de](https://forum.shopware.com/u/frip-tech.de)\
**Post date:** [1. Mai 2025 um 16:56 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/10 "2025-05-01T16:56:29Z")

</div>

@billie.bell wir haben das intern per Plugin gelöst, meld Dich bei Bedarf

---

<div class="post-metadata">

**Author:** ![billie.bell](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@billie.bell](https://forum.shopware.com/u/billie.bell)\
**Post date:** [2. Mai 2025 um 07:41 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/11 "2025-05-02T07:41:38Z")

</div>

Habe das auch genauso gelöst von dem Commit [fix: prevent empty pages in invoice document by lacknere · Pull Request #8390 · shopware/shopware · GitHub](https://github.com/shopware/shopware/pull/8390/commits/dd1ae88d70fc9dd1794ef2cd7f78552ad0bb4c82)

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [1. Juni 2025 um 07:41 UTC](https://forum.shopware.com/t/rechnung-kaputt-wenn-lieferadresse-im-seitenumbruch-steckt/107080/12 "2025-06-01T07:41:39Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
