My scenario is as follows, I generate a pdf file using the mpdf library and this pdf file is an interval query between client code and event date. Eg: code 0001 to 0004 and 0000-00-00 to 0000-00-00. It is generating the pdf with the result perfectly, however I need to separate the information of each client, because they are being displayed together, see the image and follow the code where I generate the pdf:
thecodeishere link
Thank you in advance