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

Fixes for pdfmocks

This commit is contained in:
David Bomba 2023-02-25 14:33:37 +11:00
parent 99bcf3a77c
commit ed0da5ba0d

View File

@ -58,9 +58,9 @@ class PdfMock
[ [
'$client.shipping_postal_code' => '46420', '$client.shipping_postal_code' => '46420',
'$client.billing_postal_code' => '11243', '$client.billing_postal_code' => '11243',
'$company.city_state_postal' => ' ', '$company.city_state_postal' => '90210',
'$company.postal_city_state' => ' ', '$company.postal_city_state' => 'CA',
'$product.gross_line_total' => '', '$product.gross_line_total' => '100',
'$client.postal_city_state' => '11243 Aufderharchester, North Carolina', '$client.postal_city_state' => '11243 Aufderharchester, North Carolina',
'$client.shipping_address1' => '453', '$client.shipping_address1' => '453',
'$client.shipping_address2' => '66327 Waters Trail', '$client.shipping_address2' => '66327 Waters Trail',
@ -68,19 +68,19 @@ class PdfMock
'$client.shipping_address' => '453<br/>66327 Waters Trail<br/>Aufderharchester, North Carolina 11243<br/>Afghanistan<br/>', '$client.shipping_address' => '453<br/>66327 Waters Trail<br/>Aufderharchester, North Carolina 11243<br/>Afghanistan<br/>',
'$client.billing_address2' => '63993 Aiyana View', '$client.billing_address2' => '63993 Aiyana View',
'$client.billing_address1' => '8447', '$client.billing_address1' => '8447',
'$client.shipping_country' => 'Afghanistan', '$client.shipping_country' => 'USA',
'$invoiceninja.whitelabel' => 'https://raw.githubusercontent.com/invoiceninja/invoiceninja/v5-develop/public/images/new_logo.png', '$invoiceninja.whitelabel' => 'https://raw.githubusercontent.com/invoiceninja/invoiceninja/v5-develop/public/images/new_logo.png',
'$client.billing_address' => '8447<br/>63993 Aiyana View<br/>Aufderharchester, North Carolina 11243<br/>Afghanistan<br/>', '$client.billing_address' => '8447<br/>63993 Aiyana View<br/>Aufderharchester, North Carolina 11243<br/>Afghanistan<br/>',
'$client.billing_country' => 'Afghanistan', '$client.billing_country' => 'USA',
'$task.gross_line_total' => '', '$task.gross_line_total' => '100',
'$contact.portal_button' => '<a class="button" href="http://ninja.test:8000/client/key_login/zJJEjlUtXPiNnnnyO2tcYia64PSwauidy61eDnMU?client_hash=nzikYQITs1kyUK61GScTNW67JwhTRkOBVdvsHzIv">View client portal</a>', '$contact.portal_button' => '<a class="button" href="http://ninja.test:8000/client/key_login/zJJEjlUtXPiNnnnyO2tcYia64PSwauidy61eDnMU?client_hash=nzikYQITs1kyUK61GScTNW67JwhTRkOBVdvsHzIv">View client portal</a>',
'$client.shipping_state' => 'Delaware', '$client.shipping_state' => 'Delaware',
'$invoice.public_notes' => '', '$invoice.public_notes' => 'These are some public notes for your document',
'$client.shipping_city' => 'Kesslerport', '$client.shipping_city' => 'Kesslerport',
'$client.billing_state' => 'North Carolina', '$client.billing_state' => 'North Carolina',
'$product.description' => '', '$product.description' => 'A Product Description',
'$product.product_key' => '', '$product.product_key' => 'A Product Key',
'$entity.public_notes' => '', '$entity.public_notes' => 'Entity Public notes',
'$invoice.balance_due' => '$0.00', '$invoice.balance_due' => '$0.00',
'$client.public_notes' => '&nbsp;', '$client.public_notes' => '&nbsp;',
'$company.postal_code' => '&nbsp;', '$company.postal_code' => '&nbsp;',
@ -99,7 +99,7 @@ class PdfMock
'$product.tax_name2' => '', '$product.tax_name2' => '',
'$product.tax_name3' => '', '$product.tax_name3' => '',
'$product.unit_cost' => '', '$product.unit_cost' => '',
'$quote.valid_until' => '', '$quote.valid_until' => '2023-10-24',
'$custom_surcharge1' => '$0.00', '$custom_surcharge1' => '$0.00',
'$custom_surcharge2' => '$0.00', '$custom_surcharge2' => '$0.00',
'$custom_surcharge3' => '$0.00', '$custom_surcharge3' => '$0.00',