mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
add accompanying courses exports in a group
This commit is contained in:
parent
3cdcccc037
commit
bda203d11d
@ -13,6 +13,7 @@ namespace Chill\PersonBundle\Export\Export;
|
||||
|
||||
use Chill\MainBundle\Export\ExportInterface;
|
||||
use Chill\MainBundle\Export\FormatterInterface;
|
||||
use Chill\MainBundle\Export\GroupedExportInterface;
|
||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||
use Chill\PersonBundle\Security\Authorization\AccompanyingPeriodVoter;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
@ -22,7 +23,7 @@ use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
use LogicException;
|
||||
|
||||
class CountAccompanyingCourse implements ExportInterface
|
||||
class CountAccompanyingCourse implements ExportInterface, GroupedExportInterface
|
||||
{
|
||||
/**
|
||||
* @var EntityManagerInterface
|
||||
@ -110,4 +111,9 @@ class CountAccompanyingCourse implements ExportInterface
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function getGroup(): string
|
||||
{
|
||||
return 'Exports of accompanying courses';
|
||||
}
|
||||
}
|
@ -12,13 +12,14 @@ declare(strict_types=1);
|
||||
namespace Chill\PersonBundle\Export\Export;
|
||||
|
||||
use Chill\MainBundle\Export\ExportElementValidatedInterface;
|
||||
use Chill\MainBundle\Export\GroupedExportInterface;
|
||||
use Chill\MainBundle\Export\ListInterface;
|
||||
use Chill\PersonBundle\Security\Authorization\AccompanyingPeriodVoter;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\Security\Core\Role\Role;
|
||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||
|
||||
class ListAccompanyingCourse implements ListInterface, ExportElementValidatedInterface
|
||||
class ListAccompanyingCourse implements ListInterface, ExportElementValidatedInterface, GroupedExportInterface
|
||||
{
|
||||
|
||||
/**
|
||||
@ -113,4 +114,9 @@ class ListAccompanyingCourse implements ListInterface, ExportElementValidatedInt
|
||||
{
|
||||
// TODO: Implement validateForm() method.
|
||||
}
|
||||
|
||||
public function getGroup(): string
|
||||
{
|
||||
return 'Exports of accompanying courses';
|
||||
}
|
||||
}
|
@ -336,6 +336,7 @@ Fields to include in export: Champs à inclure dans l'export
|
||||
Address valid at this date: Addresse valide à cette date
|
||||
List duplicates: Liste des doublons
|
||||
Create a list of duplicate people: Créer la liste des personnes détectées comme doublons.
|
||||
Exports of accompanying courses: Exports des parcours d'accompagnement
|
||||
Count accompanying courses: Nombre de parcours
|
||||
Count accompanying courses by various parameters: Compte le nombre de parcours d'accompagnement en fonction de différents filtres.
|
||||
List accompanying courses: Liste des parcours
|
||||
|
Loading…
x
Reference in New Issue
Block a user