johnny_v Developer From Netherlands Member since May 2016 johnny_v Feb 4 2020 07:19 PM 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 From Sweden Member since May 2013 tim Feb 5 2020 01:50 AM I think your only options are to insert a page break, or remove the comments.
johnny_v Developer From Netherlands Member since May 2016 johnny_v Feb 5 2020 07:21 PM 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.