Loading module/Contrat/src/Controller/ContratController.php +1 −7 Original line number Diff line number Diff line Loading @@ -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)) { Loading Loading
module/Contrat/src/Controller/ContratController.php +1 −7 Original line number Diff line number Diff line Loading @@ -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)) { Loading