mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 22:04:23 +00:00
Fixed: remaining options not linked with PickRollingDateType
This commit is contained in:
parent
d0e1f31ec7
commit
318d6b6d4e
@ -16,7 +16,6 @@ use Chill\MainBundle\Form\Type\PickRollingDateType;
|
|||||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||||
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
|
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
|
||||||
use Chill\PersonBundle\Export\Declarations;
|
use Chill\PersonBundle\Export\Declarations;
|
||||||
use DateTimeImmutable;
|
|
||||||
use Doctrine\ORM\QueryBuilder;
|
use Doctrine\ORM\QueryBuilder;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
|
|
||||||
@ -59,7 +58,6 @@ class ByEndDateFilter implements FilterInterface
|
|||||||
->add('start_date', PickRollingDateType::class, [
|
->add('start_date', PickRollingDateType::class, [
|
||||||
'label' => 'start period date',
|
'label' => 'start period date',
|
||||||
'data' => new RollingDate(RollingDate::T_YEAR_PREVIOUS_START),
|
'data' => new RollingDate(RollingDate::T_YEAR_PREVIOUS_START),
|
||||||
'input' => 'datetime_immutable',
|
|
||||||
])
|
])
|
||||||
->add('end_date', PickRollingDateType::class, [
|
->add('end_date', PickRollingDateType::class, [
|
||||||
'label' => 'end period date',
|
'label' => 'end period date',
|
||||||
|
@ -16,7 +16,6 @@ use Chill\MainBundle\Form\Type\PickRollingDateType;
|
|||||||
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
use Chill\MainBundle\Service\RollingDate\RollingDate;
|
||||||
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
|
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
|
||||||
use Chill\PersonBundle\Export\Declarations;
|
use Chill\PersonBundle\Export\Declarations;
|
||||||
use DateTimeImmutable;
|
|
||||||
use Doctrine\ORM\QueryBuilder;
|
use Doctrine\ORM\QueryBuilder;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
|
|
||||||
@ -59,7 +58,6 @@ class ByStartDateFilter implements FilterInterface
|
|||||||
->add('start_date', PickRollingDateType::class, [
|
->add('start_date', PickRollingDateType::class, [
|
||||||
'label' => 'start period date',
|
'label' => 'start period date',
|
||||||
'data' => new RollingDate(RollingDate::T_YEAR_PREVIOUS_START),
|
'data' => new RollingDate(RollingDate::T_YEAR_PREVIOUS_START),
|
||||||
'input' => 'datetime_immutable',
|
|
||||||
])
|
])
|
||||||
->add('end_date', PickRollingDateType::class, [
|
->add('end_date', PickRollingDateType::class, [
|
||||||
'label' => 'end period date',
|
'label' => 'end period date',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user