Commit 264e0be4 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Suppressions modifs non testées

parent ca2d54b8
Loading
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -176,13 +176,7 @@ class ContratController extends AbstractController
        }

        $volumeHorairesTotal = $this->getServiceTblContrat()->getVolumeTotalCreationContratByUuid($uuid);
        if($volumeHorairesTotal['contratParentId'] != null){
            $totalContratHetd = $this->getServiceTblContrat()->getTotalHetdIntervenant($uuid, $volumeHorairesTotal['contratParentId']);
        }else{
            $totalContratHetd = $volumeHorairesTotal['hetdTotal'];
        }

        $contrat = $this->getProcessusContrat()->creer($intervenant, $volumeHorairesTotal, $totalContratHetd);
        $contrat = $this->getProcessusContrat()->creer($intervenant, $volumeHorairesTotal);


        if (!$this->isAllowed($contrat, Privileges::CONTRAT_CREATION)) {