Hi Guys,
I was under the impression that the settings you pass into the Koolreport Export -> pdf() method were optional. I've come across a possible bug where if I send in anything (null, empty array etc) it does not render the PDF.
However if I send in at least the setting "format" => "A4" or similar, then it will render. This is odd because the default pdf() method is setup to take an empty params array() and does get populated with
$params["expectedLocation"] = $this->getFullUrl();
$params["resourceWaiting"] = $this->resourceWaiting;
even if nothing is sent in. So for this not to work when you send in an empty array i.e. pdf(array()) or a $var set to an empty array() is odd - is sending the "format" a minimum requirement for the PDF to render?
This is only on export - when I run() report this seems to render fine with all data.
Please any help is appreciated.
Thanks.