FEATURE [regroupment][exports] first commit to implement regroupment entity in exports

This commit is contained in:
Julie Lenaerts 2023-01-26 11:28:13 +01:00
parent de5f818c5a
commit 7f9e045d5d
2 changed files with 12 additions and 0 deletions

View File

@ -298,6 +298,8 @@ class ExportController extends AbstractController
'csrf_protection' => $isGenerate ? false : true,
]);
// TODO: add a condition to be able to select a regroupment of centers?
if ('centers' === $step || 'generate_centers' === $step) {
$builder->add('centers', PickCenterType::class, [
'export_alias' => $alias,

View File

@ -0,0 +1,10 @@
<?php
namespace Chill\MainBundle\Form\Type\Export;
use Symfony\Component\Form\AbstractType;
class PickRegroupmentType extends AbstractType
{
}