How to print page subtotal on report?
we need for our company report to print per page an subtotal in the table footer. If the last page is reached, it should print the amount untaxed.
We tried this by defining a variable before the loop starts. In the loop itself we add the product subtotal to the variable and printing it in the table footer. But this didn't work as expected. The subtotal on page one and page two are the same.
For better understanding what we want:
|Amount untaxed||2.000 |
Currently it prints the amount untaxed on every page.