diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index 9635398490ce..0d2e75d53d3a 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -309,10 +309,10 @@ class PdfMock '$invoice.custom2' => 'custom value', '$invoice.custom3' => 'custom value', '$invoice.custom4' => 'custom value', - '$company.custom1' => $this->company->custom_value1, - '$company.custom2' => $this->company->custom_value2, - '$company.custom3' => $this->company->custom_value3, - '$company.custom4' => $this->company->custom_value4, + '$company.custom1' => $this->company->settings->custom_value1, + '$company.custom2' => $this->company->settings->custom_value2, + '$company.custom3' => $this->company->settings->custom_value3, + '$company.custom4' => $this->company->settings->custom_value4, '$quote.po_number' => 'PO12345', '$company.website' => $this->settings->website, '$balance_due_raw' => '0.00',