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 f5e69f9 commit e35394cCopy full SHA for e35394c
src/Pdf/PdfInvoice.php
@@ -65,7 +65,7 @@ public function __construct(
65
// @phpstan-ignore-next-line
66
$this->template = sprintf('invoices::%s', $template ?? config('invoices.pdf.template') ?? config('invoices.default_template'));
67
68
- $this->templateData = config('invoices.pdf.template_data') ?? [];
+ $this->templateData = $templateData ?: config('invoices.pdf.template_data') ?: [];
69
}
70
71
public function getTypeLabel(): ?string
0 commit comments