We are generating an invoice. The invoice has lines with arbitrary size. Prince properly splits lines per page.
The problem is that at the end of each page, we need to print:
- The total sum of all items until that page
- The sum of the items of just that page
So we need to know what items did prince put on each page.
Any tips on how to do this?
Thanks
The problem is that at the end of each page, we need to print:
- The total sum of all items until that page
- The sum of the items of just that page
So we need to know what items did prince put on each page.
Any tips on how to do this?
Thanks