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.
1 parent 9f55f4c commit 4cb4aabCopy full SHA for 4cb4aab
src/Invoice.php
@@ -198,7 +198,7 @@ public function __construct($name = '')
198
$this->paperOptions = config('invoices.paper');
199
200
// DomPDF options
201
- $this->options = config('invoices.dompdf_options') ?? ['enable_php' => true];
+ $this->options = array_merge(app('dompdf.options'), config('invoices.dompdf_options') ?? ['enable_php' => true]);
202
203
$this->disk = config('invoices.disk');
204
$this->table_columns = static::TABLE_COLUMNS;
0 commit comments