From 264e0be44c7c91ce25f57c7a2e32a312c7e9712d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr> Date: Wed, 26 Feb 2025 14:25:01 +0100 Subject: [PATCH] =?UTF-8?q?Suppressions=20modifs=20non=20test=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/Contrat/src/Controller/ContratController.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/module/Contrat/src/Controller/ContratController.php b/module/Contrat/src/Controller/ContratController.php index 12e367051c..acf1ab889a 100755 --- a/module/Contrat/src/Controller/ContratController.php +++ b/module/Contrat/src/Controller/ContratController.php @@ -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)) { -- GitLab