mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
[export] add a filter and aggregator on accompanying periods: group by activity type (accompanying course having at least one activity from this type)
This commit is contained in:
@@ -34,6 +34,7 @@ class PickRollingDateType extends AbstractType
|
||||
),
|
||||
'multiple' => false,
|
||||
'expanded' => false,
|
||||
'required' => $options['required'],
|
||||
'label' => 'rolling_date.roll_movement',
|
||||
])
|
||||
->add('fixedDate', ChillDateType::class, [
|
||||
@@ -57,7 +58,10 @@ class PickRollingDateType extends AbstractType
|
||||
'constraints' => [
|
||||
new Callback($this->validate(...)),
|
||||
],
|
||||
'required' => true,
|
||||
]);
|
||||
|
||||
$resolver->setAllowedTypes('required', 'bool');
|
||||
}
|
||||
|
||||
public function validate($data, ExecutionContextInterface $context, $payload): void
|
||||
|
Reference in New Issue
Block a user