Loading src/UnicaenApp/Exporter/Pdf.php +2 Changes for src/UnicaenApp/Exporter/Pdf.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -401,6 +401,7 @@ class Pdf implements ExporterInterface 'headerTitle' => $this->headerTitle, 'headerSubtitle' => $this->headerSubtitle, 'logo' => $this->logo); $scriptVars = array_merge($scriptVars, current($this->scriptVars)); // le logo doit être passé ainsi pour pouvoir être référencé dans la balise <img> sous la forme "var:logo" $this->getMpdf()->imageVars['logo'] = $this->logo; Loading Loading @@ -492,6 +493,7 @@ class Pdf implements ExporterInterface $scriptVars = array( 'footerTitle' => $this->footerTitle); $scriptVars = array_merge($scriptVars, current($this->scriptVars)); if (isset($this->footerScripts['O'])) { $footerOdd = $this->getRenderer()->render($this->footerScripts['O'], $scriptVars); Loading Loading
src/UnicaenApp/Exporter/Pdf.php +2 Changes for src/UnicaenApp/Exporter/Pdf.php: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -401,6 +401,7 @@ class Pdf implements ExporterInterface 'headerTitle' => $this->headerTitle, 'headerSubtitle' => $this->headerSubtitle, 'logo' => $this->logo); $scriptVars = array_merge($scriptVars, current($this->scriptVars)); // le logo doit être passé ainsi pour pouvoir être référencé dans la balise <img> sous la forme "var:logo" $this->getMpdf()->imageVars['logo'] = $this->logo; Loading Loading @@ -492,6 +493,7 @@ class Pdf implements ExporterInterface $scriptVars = array( 'footerTitle' => $this->footerTitle); $scriptVars = array_merge($scriptVars, current($this->scriptVars)); if (isset($this->footerScripts['O'])) { $footerOdd = $this->getRenderer()->render($this->footerScripts['O'], $scriptVars); Loading