From 6d94c32818afa87e914b114ce6f30cf6ee1960c8 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Fri, 24 Jan 2025 09:41:36 +0000 Subject: [PATCH] Hyperlink primary contact name on overview --- clients.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/clients.php b/clients.php index 6e63cb43..fd239662 100644 --- a/clients.php +++ b/clients.php @@ -307,6 +307,11 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); $client_archived_at = nullable_htmlentities($row['client_archived_at']); $client_is_lead = intval($row['client_lead']); + // Abbreviation + if (empty($client_abbreviation)) { + $client_abbreviation = shortenClient($client_name); + } + // Client Tags $client_tag_name_display_array = array(); @@ -382,7 +387,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
- Created: + Abbreviation:
+ Created:
@@ -395,7 +401,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()")); if (!empty($contact_name)) { ?>
- +