Currently, I have a table of values/attributes in my Custom Transaction Form. I want to write an Advanced PDF Template, so when I print the form as PDF, some values are grouped to different sections.
For example, my form has four attributes, called Store Name, Product ID, and NumOfSales, like the following.
1. AA, 123, 10
2. AA, 123, 12
3. BB, 123, 29
4. BB, 124, 9
I want to write an advanced pdf template so that the printed result looks like the following.
1. AA, 123, 22
2. BB, 123, 38