Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Custom Print Format - Columns total in table footer

Hi,
I am using custom print format to print sales invoices, I need to call column total in html table,

If a document pdf consists of two pages the table breaks within two pages, In my setup I need to call total of page column in table footer.

Please find the below mentioned screen shot of two pages - both are showing the total sum of the the document rather than page total. How do i achieve column total of the page ?

I am using this code in table footer

{{ doc.items|sum(attribute=‘qty’) }}

1 Like

please send me the code for this print format.