Commit d54d283a authored by Florian Joriot's avatar Florian Joriot
Browse files

Correction gestionnaire d'une autre composante que le contrat unique ayant un bug

parent e89dff59
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -150,8 +150,13 @@ class ContratController extends AbstractController
        ];

        foreach ($contrats as $contrat) {
            if($avenantResult < 0){
                $services['contractualises'][$contrat->getId()] = $this->getProcessusContrat()->getServices($intervenant, $contrat, null);

            }else{
                $services['contractualises'][$contrat->getId()] = $this->getProcessusContrat()->getServices($intervenant, $contrat, $role->getStructure());
            }
        }

        $nc = $this->getProcessusContrat()->getServices($intervenant, null, $role->getStructure());
        foreach ($nc as $service) {