-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Error filling reportResource not found at: C:\wamp64\www\156\public\reports" -t mysql -u xxx -p xxx -H localhost -n base?useSSL=false --db-port 3306 /subreport_perguntas.jrxml.
criei o parametro no relatório mestre, e passei as expressoes:
$P{subreportsPath} +"/subreport_perguntas.jrxml"
tentei
$P{subreportsPath} +"/subreport_perguntas.jasper"
` $input = public_path() . '/reports/'. $relatorio;
$subReport = public_path() . '\\reports\\';
$output = public_path() . '/reports/' . time();
$options = [
'format' => ['pdf'],
'locale' => 'pt_BR',
'params' => [
'my_where' => $condicoes,
'periodo' => $periodo ?? '',
'subreportsPath' => $subReport
],
'db_connection' => $this->getDatabaseConfig(),
];
$report = new PHPJasper;
//dd($options);
$report->process(
$input,
$output,
$options
)->execute();
//print_r($x);
$file = $output . '.pdf';
$path = $file;
`
Metadata
Metadata
Assignees
Labels
No labels