Hello,
we are considering to build a new print solution for our ERP based on phpdocx and so far it does look very promising, as it seems to provide all required features. There is just one open question: Is it possible to generate an invoice from a template, which has a table of positions with
- an arbitrary number of rows,
- a variable number of rows per page, determined by how many rows can fit the page before a page break would occur, and
- after each page break: a table row containing the subtotal of all previously listed positions.
The first two are easily achievable with replaceTableVariable and the proper table style, but I'm not sure how one would go about the third one. If you have a clean solution to this, we will probably get a premium license within the week, so I hope you can give us some pointers even though we currently do not have a license.
Best regards,
T.D.