From 75973061d8a89ad877f01d22338cd495627f1dfc Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 12 Mar 2023 20:11:22 +1100 Subject: [PATCH] Stubs for PDFMock --- app/Services/Pdf/PdfMock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index 6766763bdc51..0e8a166886f3 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -182,7 +182,7 @@ class PdfMock '$client.public_notes' => ' ', '$company.postal_code' => $this->settings->postal_code, '$client.billing_city' => 'Aufderharchester', - '$secondary_font_name' => $this->settings->primary_font, + '$secondary_font_name' => $this->settings?->primary_font ?: 'Roboto', '$product.line_total' => '', '$product.tax_amount' => '', '$company.vat_number' => $this->settings->vat_number,