feat: refactor staffing status assignment and filtering
This commit is contained in:
1 parent
fa9c68c463
commit
5dd2f79c2d
14 files changed
+128
-52
No files matched your search
@@ -65,10 +65,10 @@ class AssignmentFilterType extends AbstractType
|
||||
;
|
||||
|
||||
if ($this->security->isGranted('ROLE_ADMINISTRATIVE')) {
|
||||
$builder->add('status', ChoiceType::class, [
|
||||
$builder->add('status', MultiselectType::class, [
|
||||
'label' => 'Status',
|
||||
'required' => false,
|
||||
'placeholder' => 'nicht filtern',
|
||||
'empty_label' => 'nicht filtern',
|
||||
'choices' => [
|
||||
'voll besetzt' => Assignment::STATUS_STAFFED,
|
||||
'teilweise besetzt' => Assignment::STATUS_PARTLY_STAFFED,
|
||||
|
||||
Reference in new issue
Block a user