mirror of
https://github.com/itflow-org/itflow
synced 2026-08-23 16:05:12 +00:00
Categories: Moved note type, software type, rack type to be creatable/editable Categories with common defaults and descriptions
This commit is contained in:
@@ -32,8 +32,17 @@ ob_start();
|
||||
<span class="input-group-text"><i class="fa fa-fw fa-comment"></i></span>
|
||||
</div>
|
||||
<select class="form-control select2" name="type">
|
||||
<?php foreach ($note_types_array as $note_type => $note_type_icon) { ?>
|
||||
<option><?php echo nullable_htmlentities($note_type); ?></option>
|
||||
<?php
|
||||
$sql_contact_note_types_select = mysqli_query($mysqli, "
|
||||
SELECT category_name FROM categories
|
||||
WHERE category_type = 'contact_note_type'
|
||||
AND category_archived_at IS NULL
|
||||
ORDER BY category_order ASC, category_name ASC
|
||||
");
|
||||
while ($row = mysqli_fetch_assoc($sql_contact_note_types_select)) {
|
||||
$contact_note_type_select = nullable_htmlentities($row['category_name']);
|
||||
?>
|
||||
<option><?= $contact_note_type_select ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user