diff --git a/client_racks.php b/client_racks.php
index acd1a575..c2b8ebe3 100644
--- a/client_racks.php
+++ b/client_racks.php
@@ -9,9 +9,6 @@ require_once "includes/inc_all_client.php";
// Perms
enforceUserPermission('module_support');
-// Rebuild URL
-$url_query_strings_sort = http_build_query($get_copy);
-
$sql = mysqli_query(
$mysqli,
"SELECT SQL_CALC_FOUND_ROWS * FROM racks
@@ -323,7 +320,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
} else {
// No device in this row
?>
-
No device |
+ -- |
|
$location_city $location_state $location_zip";
+ $location_address_display = "$location_address
$location_city $location_state $location_zip
$location_country";
}
$contact_id = intval($row['contact_id']);
$contact_name = nullable_htmlentities($row['contact_name']);
diff --git a/guest/guest_view_invoice.php b/guest/guest_view_invoice.php
index 51e6354a..74cd64d8 100644
--- a/guest/guest_view_invoice.php
+++ b/guest/guest_view_invoice.php
@@ -50,6 +50,7 @@ $location_address = nullable_htmlentities($row['location_address']);
$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));
@@ -71,6 +72,7 @@ $company_address = nullable_htmlentities($row['company_address']);
$company_city = nullable_htmlentities($row['company_city']);
$company_state = nullable_htmlentities($row['company_state']);
$company_zip = nullable_htmlentities($row['company_zip']);
+$company_country = nullable_htmlentities($row['company_country']);
$company_phone_country_code = nullable_htmlentities($row['company_phone_country_code']);
$company_phone = nullable_htmlentities(formatPhoneNumber($row['company_phone'], $company_phone_country_code));
$company_email = nullable_htmlentities($row['company_email']);
@@ -198,6 +200,7 @@ if ($balance > 0) {
+
@@ -209,6 +212,7 @@ if ($balance > 0) {
+
@@ -407,11 +411,11 @@ if ($balance > 0) {
{
columns: [
{
- text: ,
+ text: ,
style: 'invoiceBillingAddress'
},
{
- text: ,
+ text: ,
style: 'invoiceBillingAddressClient'
},
]
diff --git a/guest/guest_view_quote.php b/guest/guest_view_quote.php
index e71ba4b6..b16c6185 100644
--- a/guest/guest_view_quote.php
+++ b/guest/guest_view_quote.php
@@ -51,6 +51,7 @@ $location_address = nullable_htmlentities($row['location_address']);
$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));
@@ -71,6 +72,7 @@ $company_address = nullable_htmlentities($row['company_address']);
$company_city = nullable_htmlentities($row['company_city']);
$company_state = nullable_htmlentities($row['company_state']);
$company_zip = nullable_htmlentities($row['company_zip']);
+$company_country = nullable_htmlentities($row['company_country']);
$company_phone_country_code = nullable_htmlentities($row['company_phone_country_code']);
$company_phone = nullable_htmlentities(formatPhoneNumber($row['company_phone'], $company_phone_country_code));
$company_email = nullable_htmlentities($row['company_email']);
@@ -136,6 +138,7 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
+
@@ -148,6 +151,7 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
+
@@ -345,11 +349,11 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
{
columns: [
{
- text: ,
+ text: ,
style: 'invoiceBillingAddress'
},
{
- text: ,
+ text: ,
style: 'invoiceBillingAddressClient'
},
]
diff --git a/includes/inc_client_top_head.php b/includes/inc_client_top_head.php
index e82f7e8c..208ee51e 100644
--- a/includes/inc_client_top_head.php
+++ b/includes/inc_client_top_head.php
@@ -59,7 +59,12 @@
+
@@ -319,6 +320,7 @@ if (isset($_GET['invoice_id'])) {
+
@@ -781,11 +783,11 @@ require_once "includes/footer.php";
{
columns: [
{
- text: ,
+ text: ,
style: 'invoiceBillingAddress'
},
{
- text: ,
+ text: ,
style: 'invoiceBillingAddressClient'
},
]
diff --git a/locations.php b/locations.php
index 87f8e73f..83cb15fc 100644
--- a/locations.php
+++ b/locations.php
@@ -47,7 +47,7 @@ $sql = mysqli_query(
LEFT JOIN tags ON tags.tag_id = location_tags.tag_id
WHERE location_$archive_query
$tag_query
- AND (location_name LIKE '%$q%' OR location_description LIKE '%$q%' OR location_address LIKE '%$q%' OR location_phone LIKE '%$phone_query%' OR tag_name LIKE '%$q%' OR client_name LIKE '%$q%')
+ AND (location_name LIKE '%$q%' OR location_description LIKE '%$q%' OR location_address LIKE '%$q%' OR location_city LIKE '%$q%' OR location_state LIKE '%$q%' OR location_zip LIKE '%$q%' OR location_country LIKE '%$q%' OR location_phone LIKE '%$phone_query%' OR tag_name LIKE '%$q%' OR client_name LIKE '%$q%')
$access_permission_query
$client_query
GROUP BY location_id
@@ -333,7 +333,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- " target="_blank">
|
+ " target="_blank"> $location_country"; ?> |
diff --git a/quote.php b/quote.php
index b278268a..322f2960 100644
--- a/quote.php
+++ b/quote.php
@@ -267,6 +267,7 @@ if (isset($_GET['quote_id'])) {
+
@@ -278,6 +279,7 @@ if (isset($_GET['quote_id'])) {
+
@@ -671,11 +673,11 @@ require_once "includes/footer.php";
// Billing Address
{
columns: [{
- text: ,
+ text: ,
style: 'invoiceBillingAddress'
},
{
- text: ,
+ text: ,
style: 'invoiceBillingAddressClient'
},
]
diff --git a/recurring_invoice.php b/recurring_invoice.php
index 34271cd1..8e77d03e 100644
--- a/recurring_invoice.php
+++ b/recurring_invoice.php
@@ -194,6 +194,7 @@ if (isset($_GET['recurring_invoice_id'])) {
+
@@ -203,6 +204,7 @@ if (isset($_GET['recurring_invoice_id'])) {
+
|