mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FEATURE [regroupment][exports] first commit to implement regroupment entity in exports
This commit is contained in:
parent
de5f818c5a
commit
7f9e045d5d
@ -298,6 +298,8 @@ class ExportController extends AbstractController
|
|||||||
'csrf_protection' => $isGenerate ? false : true,
|
'csrf_protection' => $isGenerate ? false : true,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// TODO: add a condition to be able to select a regroupment of centers?
|
||||||
|
|
||||||
if ('centers' === $step || 'generate_centers' === $step) {
|
if ('centers' === $step || 'generate_centers' === $step) {
|
||||||
$builder->add('centers', PickCenterType::class, [
|
$builder->add('centers', PickCenterType::class, [
|
||||||
'export_alias' => $alias,
|
'export_alias' => $alias,
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Chill\MainBundle\Form\Type\Export;
|
||||||
|
|
||||||
|
use Symfony\Component\Form\AbstractType;
|
||||||
|
|
||||||
|
class PickRegroupmentType extends AbstractType
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user