From 4229bca9789b560dc2105e5df2327ab90dd561d0 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 25 Oct 2025 18:16:56 -0400 Subject: [PATCH] Major UI Work on Contact Details Modal Always Display common details at the top with the nav underneath. --- agent/modals/contact/contact_details.php | 294 ++++++++++------------- 1 file changed, 128 insertions(+), 166 deletions(-) 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();