Loading module/Indicateur/src/Indicateur/Entity/Db/Indicateur.php +2 −2 Original line number Diff line number Diff line Loading @@ -7,8 +7,8 @@ use Doctrine\Common\Collections\ArrayCollection; class Indicateur { const ENTITY_COMPOSANTE='Composante'; const ENTITY_ETUDIANT='Etudiant'; const ENTITY_AGENT = 'Agent'; const ENTITY_STRUCTURE = 'Structure'; /** @var integer */ private $id; Loading module/Indicateur/src/Indicateur/Form/Indicateur/IndicateurForm.php +2 −2 Original line number Diff line number Diff line Loading @@ -57,8 +57,8 @@ class IndicateurForm extends Form { 'label' => "Entity associé* :", 'empty_option' => "Sélectionner une entité ...", 'value_options' => [ Indicateur::ENTITY_COMPOSANTE => 'Composante', Indicateur::ENTITY_ETUDIANT => 'Étudiant', Indicateur::ENTITY_AGENT => 'Agent', Indicateur::ENTITY_STRUCTURE => 'Structure', ] ], 'attributes' => [ Loading module/Indicateur/src/Indicateur/Service/Indicateur/IndicateurService.php +9 −9 Original line number Diff line number Diff line Loading @@ -185,21 +185,21 @@ class IndicateurService { $rawdata = $this->fetch($indicateur); $rubriques = []; if ($indicateur->getEntity() === Indicateur::ENTITY_COMPOSANTE) { if ($indicateur->getEntity() === Indicateur::ENTITY_STRUCTURE) { $rubriques = [ 'ID' => 'id', 'Libelle' => 'libelle', 'Type' => 'type', 'Code' => 'code', 'Libelle' => 'libelle_court', 'Libelle long' => 'libelle_long', 'Type' => 'type', ]; } if ($indicateur->getEntity() === Indicateur::ENTITY_ETUDIANT) { if ($indicateur->getEntity() === Indicateur::ENTITY_AGENT) { $rubriques = [ 'ID' => 'id', 'ID' => 'c_src_individu', 'SOURCE' => 'c_source', 'Prenom' => 'prenom', 'Nom' => 'nom', 'Numero étudiant' => 'numero_etudiant', 'Identifiant ministériel' => 'identifiant_ministeriel', 'Nom' => 'nom_usage', ]; } Loading Loading
module/Indicateur/src/Indicateur/Entity/Db/Indicateur.php +2 −2 Original line number Diff line number Diff line Loading @@ -7,8 +7,8 @@ use Doctrine\Common\Collections\ArrayCollection; class Indicateur { const ENTITY_COMPOSANTE='Composante'; const ENTITY_ETUDIANT='Etudiant'; const ENTITY_AGENT = 'Agent'; const ENTITY_STRUCTURE = 'Structure'; /** @var integer */ private $id; Loading
module/Indicateur/src/Indicateur/Form/Indicateur/IndicateurForm.php +2 −2 Original line number Diff line number Diff line Loading @@ -57,8 +57,8 @@ class IndicateurForm extends Form { 'label' => "Entity associé* :", 'empty_option' => "Sélectionner une entité ...", 'value_options' => [ Indicateur::ENTITY_COMPOSANTE => 'Composante', Indicateur::ENTITY_ETUDIANT => 'Étudiant', Indicateur::ENTITY_AGENT => 'Agent', Indicateur::ENTITY_STRUCTURE => 'Structure', ] ], 'attributes' => [ Loading
module/Indicateur/src/Indicateur/Service/Indicateur/IndicateurService.php +9 −9 Original line number Diff line number Diff line Loading @@ -185,21 +185,21 @@ class IndicateurService { $rawdata = $this->fetch($indicateur); $rubriques = []; if ($indicateur->getEntity() === Indicateur::ENTITY_COMPOSANTE) { if ($indicateur->getEntity() === Indicateur::ENTITY_STRUCTURE) { $rubriques = [ 'ID' => 'id', 'Libelle' => 'libelle', 'Type' => 'type', 'Code' => 'code', 'Libelle' => 'libelle_court', 'Libelle long' => 'libelle_long', 'Type' => 'type', ]; } if ($indicateur->getEntity() === Indicateur::ENTITY_ETUDIANT) { if ($indicateur->getEntity() === Indicateur::ENTITY_AGENT) { $rubriques = [ 'ID' => 'id', 'ID' => 'c_src_individu', 'SOURCE' => 'c_source', 'Prenom' => 'prenom', 'Nom' => 'nom', 'Numero étudiant' => 'numero_etudiant', 'Identifiant ministériel' => 'identifiant_ministeriel', 'Nom' => 'nom_usage', ]; } Loading