Hi,
I use fpdf in a php page to print a report from a list page.
In ListOptions Rendered event :
$this->ListOptions->Items["print"]->Body = "<a class=\"btn btn-default center\" href=\"fpdfreports/ac_remise.php?id=".$this->id->CurrentValue."¤t_user_id=". CurrentUserID() ."\" target=\"_blank\"><i class=\"fas fa-solid fa-print\"></i></a>";
Then, I can print my report for each record.
Now, I want to call my page that makes the print (ac_remise.php) in a custom_action.
My purpose is to print the the report for each selected records from a list page using a custom action.
How can I do that ?
Help please