Commit 5d971fd4 authored by Florian Joriot's avatar Florian Joriot
Browse files

Recuperation des espaces et des formations

Recuperation des arbres liés au formation
TODO : calculer les espaces a garder
parent 20d4bad5
Loading
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -6,15 +6,14 @@
 * @var $io         \Symfony\Component\Console\Style\SymfonyStyle
 */

use Connecteur\Pegase\Service\PegaseService;
use Symfony\Component\Console\Style\SymfonyStyle;
use UnicaenTbl\Event;
use Connecteur\Pegase\Service\PegaseServiceAwareTrait;

$tbl = $container->get(\UnicaenTbl\Service\TableauBordService::class);

$params = [
//    'INTERVENANT_ID' => 36215,
//    'INTERVENANT_ID' => 777477,
    'ANNEE_ID' => 2020,
];
$pegase = \AppAdmin::container()->get(PegaseService::class);

$tbl->calculer('contrat', $params);
if($pegase != null){
    echo "réussite";
}
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
        "unicaen/bddadmin"                 : "1.4.0",
        "unicaen/signature"                : "1.0.6",
        "connecteur-ose/actul"             : "dev-master",
        "connecteur-ose/pegase"            : "dev-master"
        "connecteur-ose/pegase"            : "dev-pegase-API"
    },
    "autoload"         : {
        "psr-4": {
+705 −207

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ class TauxRemuService extends AbstractEntityService



    public function tauxValeur(TauxRemu|int $tauxRemu, \DateTime|string $date): float
    public function tauxValeur(TauxRemu|int $tauxRemu, \ANNEE|string $date): float
    {
        $tauxValeur = $this->getTauxMap();