We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a98144 + 6edc28d commit 6dabfd9Copy full SHA for 6dabfd9
src/Invoice.php
@@ -257,7 +257,7 @@ public function render()
257
$view = View::make($template, ['invoice' => $this]);
258
$html = mb_convert_encoding($view, 'HTML-ENTITIES', 'UTF-8');
259
260
- $this->pdf = Pdf::setOptions(['enable_php' => true])->loadHtml($html);
+ $this->pdf = Pdf::setOption(['enable_php' => true])->loadHtml($html);
261
$this->output = $this->pdf->output();
262
263
return $this;
0 commit comments