mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-09 10:14:35 -04:00
Clean up for logging
This commit is contained in:
parent
010bcb8286
commit
c05c9aa23f
@ -69,6 +69,8 @@ class PdfMock
|
|||||||
|
|
||||||
$html = $pdf_service->getHtml();
|
$html = $pdf_service->getHtml();
|
||||||
|
|
||||||
|
// nlog($html);
|
||||||
|
|
||||||
return $pdf_service->resolvePdfEngine($html);
|
return $pdf_service->resolvePdfEngine($html);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,6 +132,7 @@ class PdfMock
|
|||||||
{
|
{
|
||||||
return ['values' =>
|
return ['values' =>
|
||||||
[
|
[
|
||||||
|
|
||||||
'$client.shipping_postal_code' => '46420',
|
'$client.shipping_postal_code' => '46420',
|
||||||
'$client.billing_postal_code' => '11243',
|
'$client.billing_postal_code' => '11243',
|
||||||
'$company.city_state_postal' => '90210',
|
'$company.city_state_postal' => '90210',
|
||||||
@ -170,6 +173,7 @@ class PdfMock
|
|||||||
'$contact.first_name' => 'Benedict',
|
'$contact.first_name' => 'Benedict',
|
||||||
'$secondary_font_url' => 'https://fonts.googleapis.com/css2?family=Roboto&display=swap',
|
'$secondary_font_url' => 'https://fonts.googleapis.com/css2?family=Roboto&display=swap',
|
||||||
'$contact.signature' => '',
|
'$contact.signature' => '',
|
||||||
|
'$company_logo_size' => $this->settings->company_logo_size ?: 55,
|
||||||
'$product.tax_name1' => '',
|
'$product.tax_name1' => '',
|
||||||
'$product.tax_name2' => '',
|
'$product.tax_name2' => '',
|
||||||
'$product.tax_name3' => '',
|
'$product.tax_name3' => '',
|
||||||
@ -362,11 +366,11 @@ NON
|
|||||||
0029
|
0029
|
||||||
EPD
|
EPD
|
||||||
',
|
',
|
||||||
'$client_name' => 'cypress',
|
'$client_name' => 'A Client Called Bob',
|
||||||
'$client.name' => 'cypress',
|
'$client.name' => 'A Client Called Bob',
|
||||||
'$paymentLink' => 'http://ninja.test:8000/client/pay/UAUY8vIPuno72igmXbbpldwo5BDDKIqs',
|
'$paymentLink' => 'http://ninja.test:8000/client/pay/UAUY8vIPuno72igmXbbpldwo5BDDKIqs',
|
||||||
'$payment_url' => 'http://ninja.test:8000/client/pay/UAUY8vIPuno72igmXbbpldwo5BDDKIqs',
|
'$payment_url' => 'http://ninja.test:8000/client/pay/UAUY8vIPuno72igmXbbpldwo5BDDKIqs',
|
||||||
'$page_layout' => 'portrait',
|
'$page_layout' => $this->settings->page_layout,
|
||||||
'$task.task1' => '',
|
'$task.task1' => '',
|
||||||
'$task.task2' => '',
|
'$task.task2' => '',
|
||||||
'$task.task3' => '',
|
'$task.task3' => '',
|
||||||
@ -387,9 +391,9 @@ EPD
|
|||||||
'$signature' => ' ',
|
'$signature' => ' ',
|
||||||
'$id_number' => ' ',
|
'$id_number' => ' ',
|
||||||
'$credit_no' => '0029',
|
'$credit_no' => '0029',
|
||||||
'$font_size' => '16px',
|
'$font_size' => $this->settings->font_size,
|
||||||
'$view_link' => '<a class="button" href="http://ninja.test:8000/client/invoice/UAUY8vIPuno72igmXbbpldwo5BDDKIqs">View Invoice</a>',
|
'$view_link' => '<a class="button" href="http://ninja.test:8000/client/invoice/UAUY8vIPuno72igmXbbpldwo5BDDKIqs">View Invoice</a>',
|
||||||
'$page_size' => 'A4',
|
'$page_size' => $this->settings->page_size,
|
||||||
'$country_2' => 'AF',
|
'$country_2' => 'AF',
|
||||||
'$firstName' => 'Benedict',
|
'$firstName' => 'Benedict',
|
||||||
'$user.name' => 'Derrick Monahan DDS Erna Wunsch',
|
'$user.name' => 'Derrick Monahan DDS Erna Wunsch',
|
||||||
@ -496,6 +500,7 @@ EPD
|
|||||||
'$contact.first_name_label' => 'First Name',
|
'$contact.first_name_label' => 'First Name',
|
||||||
'$secondary_font_url_label' => '',
|
'$secondary_font_url_label' => '',
|
||||||
'$contact.signature_label' => '',
|
'$contact.signature_label' => '',
|
||||||
|
'$company_logo_size_label' => '',
|
||||||
'$product.tax_name1_label' => 'Tax',
|
'$product.tax_name1_label' => 'Tax',
|
||||||
'$product.tax_name2_label' => 'Tax',
|
'$product.tax_name2_label' => 'Tax',
|
||||||
'$product.tax_name3_label' => 'Tax',
|
'$product.tax_name3_label' => 'Tax',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user