Skip to content

Commit 8718131

Browse files
committed
feat: replaces footer and header with data
1 parent c714fed commit 8718131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PdfManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ private function getViewContent(): string
252252
{
253253
return view($this->layout, [
254254
'structure' => $this->replaces($this->body),
255-
'header' => $this->header,
255+
'header' => $this->replaces($this->header),
256256
'headerCss' => $this->getHeaderCss(),
257-
'footer' => $this->footer,
257+
'footer' => $this->replaces($this->footer),
258258
'footerCss' => $this->getFooterCss(),
259259
'marginTop' => $this->getMarginTop(),
260260
'marginBottom' => $this->getMarginBottom(),

0 commit comments

Comments
 (0)