feat: hide inactive teamers from list view, overridable in filter
addresses #869dv987y
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user