mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Update 'calc_date' field option in HasTemporaryLocationFilter.php
This commit makes the 'calc_date' field in HasTemporaryLocationFilter.php required. This field was previously optional; this change ensures that a calculation date is always provided when filtering accompanying courses by temporary location.
This commit is contained in:
parent
8be9fb6553
commit
c05451bfe9
@ -70,7 +70,8 @@ class HasTemporaryLocationFilter implements FilterInterface
|
|||||||
},
|
},
|
||||||
])
|
])
|
||||||
->add('calc_date', PickRollingDateType::class, [
|
->add('calc_date', PickRollingDateType::class, [
|
||||||
'label' => 'export.filter.course.having_temporarily.Calculation date', 'having_temporarily' => true,
|
'label' => 'export.filter.course.having_temporarily.Calculation date',
|
||||||
|
'required' => true,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user