Configurable PDF exports (#5641)

This commit is contained in:
Kevin Papst
2025-09-23 18:32:31 +02:00
committed by GitHub
parent 5d3e46cce2
commit 6d78c6ba36
107 changed files with 2428 additions and 1575 deletions

View File

@@ -27,10 +27,14 @@ final class HtmlRendererFactory
public function create(string $id, string $template): HtmlRenderer
{
$renderer = new HtmlRenderer($this->twig, $this->dispatcher, $this->projectStatisticService, $this->activityStatisticService);
$renderer->setId($id);
$renderer->setTemplate($template);
return $renderer;
return new HtmlRenderer(
$this->twig,
$this->dispatcher,
$this->projectStatisticService,
$this->activityStatisticService,
$id,
'print',
$template
);
}
}