Loading module/Application/view/application/contrat/index.phtml +1 −4 Original line number Diff line number Diff line Loading @@ -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; }; } } Loading Loading
module/Application/view/application/contrat/index.phtml +1 −4 Original line number Diff line number Diff line Loading @@ -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; }; } } Loading