Overlapping elements in the invoice PDF

Developer
Alates Netherlands
Liige alates

Hi,
I'm struggling with the PDF invoice, and I've been looking around for a solution but perhaps someone on the forums found a solution already.

The issue is that with a certain amount of item rows, the (sub)totals section, footer, and comments box will overlap with eachother. Once the 'Order Total' reaches the bottom of the page, a page break is triggered and the footer section appears neatly on the following page. 

I would like to figure out a solution to automatically trigger a page break after a certain amount of item rows, so that the remaining item rows, plus the entire totals section [i]and [/i]the comments box can be moved to the next page, instead of splitting the totals-section in half for example. Or that the page break is triggered once the comments box is reached.

See:
[img]https://i.postimg.cc/xTsS9rwk/Capture-inv-pdf.png[/img]

Did anyone have issues with this and perhaps have solved it already?

tim
Founder
Alates Sweden
Liige alates
tim

I think your only options are to insert a page break, or remove the comments.

Developer
Alates Netherlands
Liige alates

I've been thinking of removing the comments, but that still leaves us with the order totals overlapping the footer section :/ 

And I can't (yet) figure out how to prevent that, or how to force a pagebreak earlier than it breaks now.

Teie
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.