From 7cedc48b55c2ece8ca7202d3cfcf5d91ae2ab2fe Mon Sep 17 00:00:00 2001 From: Dave Shoreman Date: Thu, 30 May 2024 00:08:11 +0100 Subject: [PATCH] Fix `$company[1..4]` aliases for custom_values --- app/Services/Pdf/PdfMock.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index a9983fc78022..b0b6f7f419ec 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -456,10 +456,10 @@ class PdfMock '$task.tax' => '', '$discount' => '$0.00', '$subtotal' => '$0.00', - '$company1' => $this->company->custom_value1, - '$company2' => $this->company->custom_value2, - '$company3' => $this->company->custom_value3, - '$company4' => $this->company->custom_value4, + '$company1' => $this->company->settings->custom_value1, + '$company2' => $this->company->settings->custom_value2, + '$company3' => $this->company->settings->custom_value3, + '$company4' => $this->company->settings->custom_value4, '$due_date' => '2022-01-01', '$poNumber' => 'PO-123456', '$quote_no' => '0029',