Fixed: remaining options not linked with PickRollingDateType

This commit is contained in:
Julien Fastré 2022-11-16 14:57:40 +01:00
parent d0e1f31ec7
commit 318d6b6d4e
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
3 changed files with 6 additions and 10 deletions

View File

@ -16,7 +16,6 @@ use Chill\MainBundle\Form\Type\PickRollingDateType;
use Chill\MainBundle\Service\RollingDate\RollingDate;
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
use Chill\PersonBundle\Export\Declarations;
use DateTimeImmutable;
use Doctrine\ORM\QueryBuilder;
use Symfony\Component\Form\FormBuilderInterface;
@ -59,7 +58,6 @@ class ByEndDateFilter implements FilterInterface
->add('start_date', PickRollingDateType::class, [
'label' => 'start period date',
'data' => new RollingDate(RollingDate::T_YEAR_PREVIOUS_START),
'input' => 'datetime_immutable',
])
->add('end_date', PickRollingDateType::class, [
'label' => 'end period date',

View File

@ -16,7 +16,6 @@ use Chill\MainBundle\Form\Type\PickRollingDateType;
use Chill\MainBundle\Service\RollingDate\RollingDate;
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
use Chill\PersonBundle\Export\Declarations;
use DateTimeImmutable;
use Doctrine\ORM\QueryBuilder;
use Symfony\Component\Form\FormBuilderInterface;
@ -59,7 +58,6 @@ class ByStartDateFilter implements FilterInterface
->add('start_date', PickRollingDateType::class, [
'label' => 'start period date',
'data' => new RollingDate(RollingDate::T_YEAR_PREVIOUS_START),
'input' => 'datetime_immutable',
])
->add('end_date', PickRollingDateType::class, [
'label' => 'end period date',