diff --git a/client_contact_create_note_modal.php b/client_contact_create_note_modal.php index 92d37be5..de9ebf3d 100644 --- a/client_contact_create_note_modal.php +++ b/client_contact_create_note_modal.php @@ -19,11 +19,9 @@ diff --git a/client_contact_details.php b/client_contact_details.php index c2e57c9f..90228273 100644 --- a/client_contact_details.php +++ b/client_contact_details.php @@ -645,10 +645,13 @@ if (isset($_GET['contact_id'])) { $note_by = nullable_htmlentities($row['user_name']); $contact_note_created_at = nullable_htmlentities($row['contact_note_created_at']); + // Get the corresponding icon for the note type + $note_type_icon = isset($note_types_array[$contact_note_type]) ? $note_types_array[$contact_note_type] : 'fa-fw fa-sticky-note'; // default icon if not found + ?> - + diff --git a/get_settings.php b/get_settings.php index b74f7a66..c41d7b19 100644 --- a/get_settings.php +++ b/get_settings.php @@ -298,3 +298,10 @@ $rack_type_select_array = array( "Other" ); +$note_types_array = array ( + 'Call'=>'fa-phone-alt', + 'Email'=>'fa-envelope', + 'Meeting'=>'fa-handshake', + 'In Person'=>'fa-people-arrows', + 'Note'=>'fa-sticky-note' +);