Hello,
I am exporting a html file like below - this does not work - is there a way to pass parameters?
$template = "myReportTemplate.php?id=25&s=0";
use \koolreport\instant\Exporter;
Exporter::export($template)
->pdf(array(
"format"=>"Letter",
"orientation"=>"portrait",
"margin"=>array(
"top"=>"0.5in",
"bottom"=>"0.5in",
"left"=>"0.5in",
"right"=>"0.5in"
)
))
->toBrowser("exported-report.pdf",true);