mirror of
https://github.com/itflow-org/itflow
synced 2026-03-25 14:55:38 +00:00
Fix primary contact text not showing
This commit is contained in:
@@ -226,7 +226,13 @@ $sql_asset_retired = mysqli_query(
|
|||||||
$contact_mobile_country_code = nullable_htmlentities($row['contact_mobile_country_code']);
|
$contact_mobile_country_code = nullable_htmlentities($row['contact_mobile_country_code']);
|
||||||
$contact_mobile = nullable_htmlentities(formatPhoneNumber($row['contact_mobile'], $contact_mobile_country_code));
|
$contact_mobile = nullable_htmlentities(formatPhoneNumber($row['contact_mobile'], $contact_mobile_country_code));
|
||||||
$contact_photo = nullable_htmlentities($row['contact_photo']);
|
$contact_photo = nullable_htmlentities($row['contact_photo']);
|
||||||
|
$contact_primary = intval($row['contact_primary']);
|
||||||
$contact_initials = initials($contact_name);
|
$contact_initials = initials($contact_name);
|
||||||
|
if ($contact_primary == 1) {
|
||||||
|
$contact_primary_display = "<small class='text-success'>Primary Contact</small>";
|
||||||
|
} else {
|
||||||
|
$contact_primary_display = false;
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user