mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
cs: Enable a couple of risky rules.
This commit is contained in:
@@ -64,8 +64,8 @@ class AccompanyingPeriodType extends AbstractType
|
||||
|
||||
if (
|
||||
('close' === $options['period_action'])
|
||||
or ('create' === $options['period_action'])
|
||||
or ('update' === $options['period_action'] and !$accompanyingPeriod->isOpen())
|
||||
|| ('create' === $options['period_action'])
|
||||
|| ('update' === $options['period_action'] && !$accompanyingPeriod->isOpen())
|
||||
) {
|
||||
$builder->add('closingDate', DateType::class, [
|
||||
'required' => true,
|
||||
|
Reference in New Issue
Block a user