Commit 2b1c6be7 authored by joriot221's avatar joriot221
Browse files

Suppression morceau code oublier apres regression contrat

parent 400a67d8
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -18,15 +18,12 @@ foreach ($contrats as $contrat) {
    $structList[] = $contrat->getStructure();
}

$notshow                  = false;
$serviceNonContractToShow = [];
foreach ($services['non-contractualises'] as $sid => $servicesNC) {
    $structure = current($servicesNC)->getElementPedagogique()->getStructure();
    if ($avenant_param == 1 || (!in_array($structure, $structList) && !in_array(null, $structList) && !($avenant_param < 0 && $hasContrat))) {
        $serviceNonContractToShow[] = $structure;
    } else {
        $notshow = true;
    };
    }
}