Overlapping elements in the invoice PDF

Developer
Tól től Netherlands
Tagság máj. 2016 óta

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
Tól től Sweden
Tagság máj. 2013 óta
tim

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

Developer
Tól től Netherlands
Tagság máj. 2016 óta

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.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.