Problem solved (ol)

So I map the data, then I create an array with all the fields I need. I then create my payment book with a detail table where the row height is equal to the page height. Each row of the detail table then becomes it’s own page. Problem solved.

Obviously this sounds janky, but janky is my middle name. Or at least it should be. Janky works.

Now why the hell clone() isn’t working, I just don’t know.