For some reason the page numbering was not working on my install in several versions after it was introduced, but now in v5.5.1 it finally works as I can see it in the footer:
I’m not sure I like how it’s styled compared to the rest of the invoice, however, so I went into the Invoice design tool but I can’t get the selector of the page number string, as it just won’t appear in HTML mode… and when it gets printed in PDF, well, I can’t inspect it.
I was wondering, is there a selector available for that string, and if so, what is it?
@david is there any way to use this key as a variable in the body of an invoice like other variables? For Example if I wanted to have the page number somewhere on the invoice page, can I refer to some variable like $pdf_page_info?
Trying to have a field within my invoice, where it says page … of …
I was hoping for page numbering in a custom Invoice design by throwing in a custom field $variable. Here is a relevant github issue I found, with some discussion on page numbering, apparently there is an unresolved regression from v4 to v5:
Looks like a convoluted way to get page numbers has been found, but it seems to be far from ideal, with drawbacks including a lack of ability to control the styling and placement of the page numbers with HTML & CSS in the invoice design. I am hoping this gets resolved sooner than later.