Update client_contacts.php

added the info of the contact type - for approval procedures/purposes
This commit is contained in:
AFTECH.RO
2022-01-07 00:26:24 +00:00
committed by GitHub
parent a4b264143a
commit f476d0ea7f

View File

@@ -125,9 +125,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$contact_notes = $row['contact_notes']; $contact_notes = $row['contact_notes'];
$contact_created_at = $row['contact_created_at']; $contact_created_at = $row['contact_created_at'];
if($contact_id == $primary_contact){ if($contact_id == $primary_contact){
$primary_contact_display = "<p class='text-success'>Primary Contact</p>"; $primary_contact_display = "<small class='text-success'>Primary Contact</small>";
}else{ }else{
$primary_contact_display = ""; $primary_contact_display = "<small class='text-danger'>Needs approval</small>";
} }
?> ?>