Add IdCheckPossible filter and UI toggle: enhance ProspectFilter and ProspectSortControl for IdCheck functionality

This commit is contained in:
a.beging@eas-solutions.de
2026-04-22 07:08:33 +02:00
parent 4330b53824
commit 03872e8bba
6 changed files with 22 additions and 1 deletions

View File

@@ -20,6 +20,15 @@
</div>
}
@if(new[] { ProspectStateFilter.OnBoarding, ProspectStateFilter.Verification }.Contains(StateFilter))
{
<div style="margin-left: 1rem;">
<Switch TValue="bool" Checked="ModalFilter.IdCheckPossible" CheckedChanged="(v) => { ModalFilter.IdCheckPossible = v; StateHasChanged(); }" Color="Color.Primary">
Perso-Prüfung möglich
</Switch>
</div>
}
@if (new[] { ProspectStateFilter.All, ProspectStateFilter.OnBoarding, ProspectStateFilter.Verification }.Contains(StateFilter))
{
<div style="margin-left: 1rem;">

View File

@@ -24,7 +24,8 @@ namespace FoodsharingSiegen.Server.Dialogs
WithoutIdCheck = CurrentFilter.WithoutIdCheck,
NoActivity = CurrentFilter.NoActivity,
RecentActivity = CurrentFilter.RecentActivity,
DeletedOnly = CurrentFilter.DeletedOnly
DeletedOnly = CurrentFilter.DeletedOnly,
IdCheckPossible = CurrentFilter.IdCheckPossible
};
base.OnInitialized();
}