Changed type filter to tenant filter in Address/Index

This commit is contained in:
Frank Schubert
2024-01-04 18:15:59 +01:00
parent e35e22f4c1
commit 7c98b761ba
3 changed files with 15 additions and 6 deletions

View File

@@ -143,11 +143,11 @@
</div>
<div class="col-1">
<label class="form-label" for="filter_type">Kundentyp</label>
<label class="form-label" for="filter_type">Mandant</label>
<select class="form-control" name="filter[type]" id="filter_type">
<option value="<?=(array_key_exists('type', $filter) && $filter["type"] == "all") ? "selected='selected'" : ""?>">Alle</option>
<option value="xinon" <?=(array_key_exists('type', $filter) && $filter["type"] != "xinon") ? "" : "selected='selected'"?>>Nur Xinon-Kunden</option>
<option value="others" <?=(array_key_exists('type', $filter) && $filter["type"] == "others") ? "selected='selected'" : ""?>>Nicht-Xinon-Kunden</option>
<option value="xinon" <?=(array_key_exists('type', $filter) && $filter["type"] != "xinon") ? "" : "selected='selected'"?>>Xinon</option>
<option value="others" <?=(array_key_exists('type', $filter) && $filter["type"] == "others") ? "selected='selected'" : ""?>>Fremd</option>
</select>
</div>