mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-09 16:52:17 +01:00
Added ability to archive projects and clients, fixes ST-37
This commit is contained in:
committed by
Gregor Vostrak
parent
f21a2d4bdd
commit
a69d1cb4c4
@@ -21,6 +21,15 @@ class ProjectIndexRequest extends FormRequest
|
||||
'integer',
|
||||
'min:1',
|
||||
],
|
||||
'archived' => [
|
||||
'string',
|
||||
'in:true,false,all',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
public function getFilterArchived(): string
|
||||
{
|
||||
return $this->input('archived', 'false');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user