1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fix $company[1..4] aliases for custom_values

This commit is contained in:
Dave Shoreman 2024-05-30 00:08:11 +01:00
parent e568076ad0
commit 7cedc48b55
No known key found for this signature in database
GPG Key ID: C920D1D63709F443

View File

@ -456,10 +456,10 @@ class PdfMock
'$task.tax' => '', '$task.tax' => '',
'$discount' => '$0.00', '$discount' => '$0.00',
'$subtotal' => '$0.00', '$subtotal' => '$0.00',
'$company1' => $this->company->custom_value1, '$company1' => $this->company->settings->custom_value1,
'$company2' => $this->company->custom_value2, '$company2' => $this->company->settings->custom_value2,
'$company3' => $this->company->custom_value3, '$company3' => $this->company->settings->custom_value3,
'$company4' => $this->company->custom_value4, '$company4' => $this->company->settings->custom_value4,
'$due_date' => '2022-01-01', '$due_date' => '2022-01-01',
'$poNumber' => 'PO-123456', '$poNumber' => 'PO-123456',
'$quote_no' => '0029', '$quote_no' => '0029',