diff --git a/agent/modals/contact/contact_details.php b/agent/modals/contact/contact_details.php index 6f59a951..b3c3ca12 100644 --- a/agent/modals/contact/contact_details.php +++ b/agent/modals/contact/contact_details.php @@ -35,6 +35,18 @@ $contact_technical = intval($row['contact_technical']); $contact_created_at = nullable_htmlentities($row['contact_created_at']); $contact_location_id = intval($row['contact_location_id']); $location_name = nullable_htmlentities($row['location_name']); +$location_country = nullable_htmlentities($row['location_country']); +$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_phone_country_code = nullable_htmlentities($row['location_phone_country_code']); +$location_phone = nullable_htmlentities(formatPhoneNumber($row['location_phone'], $location_phone_country_code)); +if (empty($location_phone)) { + $location_phone_display = "-"; +} else { + $location_phone_display = $location_phone; +} $auth_method = nullable_htmlentities($row['user_auth_method']); $contact_client_id = intval($row['contact_client_id']); @@ -160,7 +172,7 @@ ob_start(); - + @@ -177,182 +189,133 @@ ob_start();