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:
johnnyq
2026-11-21 00:47:49 -05:00
parent e48ee1ca0a
commit 91af76b2e1
156 changed files with 266 additions and 265 deletions

View File

@@ -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 } ?>