From 96fe566e08f1189782d9f7c91d4ae73b9be55939 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 28 May 2025 22:03:55 -0400 Subject: [PATCH] Add location country even when client id uri is not set --- invoice.php | 1 + quote.php | 1 + recurring_invoice.php | 1 + 3 files changed, 3 insertions(+) diff --git a/invoice.php b/invoice.php index 531e1cc6..a625914c 100644 --- a/invoice.php +++ b/invoice.php @@ -53,6 +53,7 @@ if (isset($_GET['invoice_id'])) { $location_city = nullable_htmlentities($row['location_city']); $location_state = nullable_htmlentities($row['location_state']); $location_zip = nullable_htmlentities($row['location_zip']); + $location_country = nullable_htmlentities($row['location_country']); $contact_email = nullable_htmlentities($row['contact_email']); $contact_phone_country_code = nullable_htmlentities($row['contact_phone_country_code']); $contact_phone = nullable_htmlentities(formatPhoneNumber($row['contact_phone'], $contact_phone_country_code)); diff --git a/quote.php b/quote.php index 1ce765fc..918dc504 100644 --- a/quote.php +++ b/quote.php @@ -53,6 +53,7 @@ if (isset($_GET['quote_id'])) { $location_city = nullable_htmlentities($row['location_city']); $location_state = nullable_htmlentities($row['location_state']); $location_zip = nullable_htmlentities($row['location_zip']); + $location_country = nullable_htmlentities($row['location_country']); $contact_email = nullable_htmlentities($row['contact_email']); $contact_phone_country_code = nullable_htmlentities($row['contact_phone_country_code']); $contact_phone = nullable_htmlentities(formatPhoneNumber($row['contact_phone'], $contact_phone_country_code)); diff --git a/recurring_invoice.php b/recurring_invoice.php index 939259a6..77419bfb 100644 --- a/recurring_invoice.php +++ b/recurring_invoice.php @@ -45,6 +45,7 @@ if (isset($_GET['recurring_invoice_id'])) { $location_city = nullable_htmlentities($row['location_city']); $location_state = nullable_htmlentities($row['location_state']); $location_zip = nullable_htmlentities($row['location_zip']); + $location_country = nullable_htmlentities($row['location_country']); $contact_email = nullable_htmlentities($row['contact_email']); $contact_phone_country_code = nullable_htmlentities($row['contact_phone_country_code']); $contact_phone = nullable_htmlentities(formatPhoneNumber($row['contact_phone'], $contact_phone_country_code));