I would like to download multiple records and related module fields in single PDF file for my custom Module in list view. I could able to generate PDF for multiple records in a single PDF file.
The Problem is like, related module fields are not displaying properly instead of that displaying same values for multiple records in PDF. It's displaying last record values for related module field only.
Here I'm using multiple foreach in PDF template, one is for Main module and other related module fields. I couldn't able move on further. any ideas folks!!!