mirror of
https://github.com/itflow-org/itflow
synced 2026-11-26 14:27:27 +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:
@@ -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 } ?>
|
||||
|
||||
Reference in New Issue
Block a user