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

@@ -115,7 +115,7 @@ $page_title = 'Saved Cards';
<?php if ($provider_count > 1 || $provider_filter) { ?>
<div class="col-md-3 col-lg-2">
<select class="form-select" name="provider" onchange="this.form.submit()" aria-label="Provider">
<option value="">All providers</option>
<option value="">- Any provider -</option>
<?php while ($provider = mysqli_fetch_assoc($providers)) { ?>
<option value="<?= intval($provider['payment_provider_id']) ?>" <?= intval($provider['payment_provider_id']) === $provider_filter ? 'selected' : '' ?>><?= escapeHtml($provider['payment_provider_name']) ?></option>
<?php } ?>
@@ -124,7 +124,7 @@ $page_title = 'Saved Cards';
<?php } ?>
<div class="col-md-3 col-lg-3">
<select class="form-select select2" name="client" onchange="this.form.submit()" aria-label="Client">
<option value="">All clients</option>
<option value="">- Any client -</option>
<?php while ($client = mysqli_fetch_assoc($clients)) { ?>
<option value="<?= intval($client['client_id']) ?>" <?= intval($client['client_id']) === $client_filter ? 'selected' : '' ?>><?= escapeHtml($client['client_name']) ?></option>
<?php } ?>