is there a way to get a variable into a php snippet in the print events section. I am setting a session variable with the ID I need in the after record processed and echoing the session variable in the php snippet, but it fails when I select multiple records to print. At that point, I only get the last ID in the list echoing for every record selected. I was hoping the $data would work like it does everywhere else, but I just get an empty array.
The overall objective is to try to get individual purchased items (stored in a separate table) into the main record for a hard copy printout. I can get it to work individually, but since we are processing 100's of orders, I was hoping to have our people push one button and off they all go to the printer. I have a master-detail relationship going, but I only get the child records in every page (list, view, edit), but not the print page.
Im working on phprunner 6.2
Thanks in advance.