johnny_v Developer Od Netherlands Użytkownik od maj 2016 johnny_v 4 lut 2020 19:19 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 Od Sweden Użytkownik od maj 2013 tim 5 lut 2020 01:50 I think your only options are to insert a page break, or remove the comments.
johnny_v Developer Od Netherlands Użytkownik od maj 2016 johnny_v 5 lut 2020 19:21 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.