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',