mirror of
https://github.com/itflow-org/itflow
synced 2026-03-03 20:34:51 +00:00
Only show primary contact note for primary contacts
This commit is contained in:
@@ -139,7 +139,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
|
|||||||
if($contact_id == $primary_contact){
|
if($contact_id == $primary_contact){
|
||||||
$primary_contact_display = "<small class='text-success'>Primary Contact</small>";
|
$primary_contact_display = "<small class='text-success'>Primary Contact</small>";
|
||||||
}else{
|
}else{
|
||||||
$primary_contact_display = "<small class='text-danger'>Needs approval</small>";
|
$primary_contact_display = FALSE;
|
||||||
}
|
}
|
||||||
$contact_location_id = $row['contact_location_id'];
|
$contact_location_id = $row['contact_location_id'];
|
||||||
$location_name = $row['location_name'];
|
$location_name = $row['location_name'];
|
||||||
|
|||||||
Reference in New Issue
Block a user