fixed billed filter

This commit is contained in:
Luca Haid
2025-10-14 07:06:29 +00:00
parent 81cbf5fb6f
commit 0a559d0e5b

View File

@@ -410,8 +410,8 @@ $pagination_entity_name = "Vorbestellungen";
<label class="form-label" for="billed">Verrechnet</label>
<select name="filter[billed]" id="filter_billed" class="form-control">
<option value=""></option>
<option value="1" <?=(isset($filter) && array_key_exists("billed", $filter) && strlen($filter['billed']) && intval($filter['billed']) === 0) ? "selected='selected'" : ""?>>Ja</option>
<option value="0" <?=(isset($filter) && array_key_exists("billed", $filter) && intval($filter['billed']) === 1) ? "selected='selected'" : ""?>>Nein</option>
<option value="1" <?=(isset($filter) && array_key_exists("billed", $filter) && strlen($filter['billed']) && intval($filter['billed']) === 1) ? "selected='selected'" : ""?>>Ja</option>
<option value="0" <?=(isset($filter) && array_key_exists("billed", $filter) && intval($filter['billed']) === 0) ? "selected='selected'" : ""?>>Nein</option>
</select>
</div>