From ed0da5ba0d6466465b2c36107b5351a052ca9f41 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 25 Feb 2023 14:33:37 +1100 Subject: [PATCH] Fixes for pdfmocks --- app/Services/Pdf/PdfMock.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index 58f9da41aa..af9e55ec22 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -58,9 +58,9 @@ class PdfMock [ '$client.shipping_postal_code' => '46420', '$client.billing_postal_code' => '11243', - '$company.city_state_postal' => ' ', - '$company.postal_city_state' => ' ', - '$product.gross_line_total' => '', + '$company.city_state_postal' => '90210', + '$company.postal_city_state' => 'CA', + '$product.gross_line_total' => '100', '$client.postal_city_state' => '11243 Aufderharchester, North Carolina', '$client.shipping_address1' => '453', '$client.shipping_address2' => '66327 Waters Trail', @@ -68,19 +68,19 @@ class PdfMock '$client.shipping_address' => '453
66327 Waters Trail
Aufderharchester, North Carolina 11243
Afghanistan
', '$client.billing_address2' => '63993 Aiyana View', '$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', '$client.billing_address' => '8447
63993 Aiyana View
Aufderharchester, North Carolina 11243
Afghanistan
', - '$client.billing_country' => 'Afghanistan', - '$task.gross_line_total' => '', + '$client.billing_country' => 'USA', + '$task.gross_line_total' => '100', '$contact.portal_button' => 'View client portal', '$client.shipping_state' => 'Delaware', - '$invoice.public_notes' => '', + '$invoice.public_notes' => 'These are some public notes for your document', '$client.shipping_city' => 'Kesslerport', '$client.billing_state' => 'North Carolina', - '$product.description' => '', - '$product.product_key' => '', - '$entity.public_notes' => '', + '$product.description' => 'A Product Description', + '$product.product_key' => 'A Product Key', + '$entity.public_notes' => 'Entity Public notes', '$invoice.balance_due' => '$0.00', '$client.public_notes' => ' ', '$company.postal_code' => ' ', @@ -99,7 +99,7 @@ class PdfMock '$product.tax_name2' => '', '$product.tax_name3' => '', '$product.unit_cost' => '', - '$quote.valid_until' => '', + '$quote.valid_until' => '2023-10-24', '$custom_surcharge1' => '$0.00', '$custom_surcharge2' => '$0.00', '$custom_surcharge3' => '$0.00',