feat: hide inactive teamers from list view, overridable in filter

addresses #869dv987y
This commit is contained in:
Björn Fromme
2026-08-10 10:48:39 +02:00
parent 50a86e4047
commit 73e66a9458
6 changed files with 37 additions and 2 deletions
+13
View File
@@ -12,6 +12,7 @@ class TeamerFilterDto extends AbstractFilterDto
protected bool $snowboardLicense = false;
protected bool $driverLicenseVerified = false;
protected bool $noTrainings = false;
protected bool $includeInactive = false;
public function getName(): ?string
{
@@ -106,4 +107,16 @@ class TeamerFilterDto extends AbstractFilterDto
{
$this->noTrainings = $noTrainings;
}
public function isIncludeInactive(): bool
{
return $this->includeInactive;
}
public function setIncludeInactive(bool $includeInactive): static
{
$this->includeInactive = $includeInactive;
return $this;
}
}