mirror of
https://github.com/itflow-org/itflow
synced 2026-03-04 12:54:51 +00:00
Hyperlink primary contact name on overview
This commit is contained in:
10
clients.php
10
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_archived_at = nullable_htmlentities($row['client_archived_at']);
|
||||||
$client_is_lead = intval($row['client_lead']);
|
$client_is_lead = intval($row['client_lead']);
|
||||||
|
|
||||||
|
// Abbreviation
|
||||||
|
if (empty($client_abbreviation)) {
|
||||||
|
$client_abbreviation = shortenClient($client_name);
|
||||||
|
}
|
||||||
|
|
||||||
// Client Tags
|
// Client Tags
|
||||||
|
|
||||||
$client_tag_name_display_array = array();
|
$client_tag_name_display_array = array();
|
||||||
@@ -382,7 +387,8 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mt-1 text-secondary">
|
<div class="mt-1 text-secondary">
|
||||||
<small><strong>Created: </strong> <?php echo $client_created_at; ?></small>
|
<small><strong>Abbreviation: </strong> <?php echo $client_abbreviation; ?></small><br>
|
||||||
|
<small><strong>Created: </strong> <?php echo $client_created_at; ?></small><br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
@@ -395,7 +401,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
|
|
||||||
if (!empty($contact_name)) { ?>
|
if (!empty($contact_name)) { ?>
|
||||||
<div class="text-bold">
|
<div class="text-bold">
|
||||||
<i class="fa fa-fw fa-user text-secondary mr-2 mb-2"></i><?php echo $contact_name; ?>
|
<i class="fa fa-fw fa-user text-secondary mr-2 mb-2"></i><a href="client_contact_details?client_id=<?php echo $client_id ?>&contact_id=<?php echo $contact_id ?>"><?php echo $contact_name; ?></a>
|
||||||
</div>
|
</div>
|
||||||
<?php } else {
|
<?php } else {
|
||||||
echo "-";
|
echo "-";
|
||||||
|
|||||||
Reference in New Issue
Block a user