mirror of
https://github.com/itflow-org/itflow
synced 2026-11-23 12:57:24 +00:00
QoL 48: empty first choices read Select a client where you pick one, Any client where a list is filtered and None or No contact where it can be blank, the same for multi-pick placeholders, the report client and agent pickers and the choices built in script
This commit is contained in:
@@ -105,7 +105,7 @@ $tell_client = intval($config_ticket_client_general_notifications) === 1;
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-user"></i></span>
|
||||
<select class="form-select select2" data-dispatch-filter="client_id" aria-label="Client">
|
||||
<option value="">All clients</option>
|
||||
<option value="">- Any client -</option>
|
||||
<?php foreach ($clients as $client) { ?>
|
||||
<option value="<?= intval($client['client_id']) ?>"><?= escapeHtml($client['client_name']) ?></option>
|
||||
<?php } ?>
|
||||
@@ -114,7 +114,7 @@ $tell_client = intval($config_ticket_client_general_notifications) === 1;
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-text"><i class="fas fa-fw fa-thermometer-half"></i></span>
|
||||
<select class="form-select select2" data-dispatch-filter="priority" aria-label="Priority">
|
||||
<option value="">Any priority</option>
|
||||
<option value="">- Any priority -</option>
|
||||
<?php foreach (TICKET_PRIORITIES as $priority) { ?>
|
||||
<option><?= escapeHtml($priority) ?></option>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user