Add frontend for svk and vk filter
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2025-01-04 23:35:00 +01:00
parent b1dcdeb579
commit 2e8dc96665
2 changed files with 22 additions and 0 deletions

View File

@ -163,6 +163,10 @@ class MemberResource extends JsonResource
'activity_ids' => [],
'subactivity_ids' => []
],
'boolean_filter' => [
['id' => true, 'name' => 'Ja'],
['id' => false, 'name' => 'Nein'],
],
'default' => [
'gender_id' => null,
'salutation' => '',

View File

@ -48,6 +48,24 @@
size="sm"
@update:model-value="setFilter('ausstand', $event)"
></f-switch>
<f-select
id="has_vk"
name="has_vk"
:model-value="getFilter('has_vk')"
label="Verhaltenskodex unterschrieben"
size="sm"
:options="meta.boolean_filter"
@update:model-value="setFilter('has_vk', $event)"
></f-select>
<f-select
id="has_svk"
name="has_svk"
:model-value="getFilter('has_svk')"
label="SVK unterschrieben"
size="sm"
:options="meta.boolean_filter"
@update:model-value="setFilter('has_svk', $event)"
></f-select>
<f-multipleselect
id="group_ids"
:options="meta.groups"