Defined a note_type_array in get_settings to define note type and associated icon incorporated the array into the Selectboxes to create note and the UI display in contact details

This commit is contained in:
johnnyq
2024-11-24 12:11:31 -05:00
parent 276e3c79a0
commit 8599729602
3 changed files with 14 additions and 6 deletions

View File

@@ -19,11 +19,9 @@
<span class="input-group-text"><i class="fa fa-fw fa-comment"></i></span>
</div>
<select class="form-control select2" name="type">
<option>Call</option>
<option>Email</option>
<option>Meeting</option>
<option>In Person</option>
<option>Note</option>
<?php foreach ($note_types_array as $note_type => $note_type_icon) { ?>
<option><?php echo nullable_htmlentities($note_type); ?></option>
<?php } ?>
</select>
</div>
</div>