Loading module/Application/src/View/Helper/Intervenant/IntervenantViewHelper.php +15 Changes for module/Application/src/View/Helper/Intervenant/IntervenantViewHelper.php: 15 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -46,6 +46,21 @@ class IntervenantViewHelper extends AbstractHtmlElement public function getCurrentIntervenant(): ?Intervenant { if ($this->intervenant) { return $this->intervenant; } if ($intervenant = $this->getServiceContext()->getSelectedIdentityRole()->getIntervenant()) { return $intervenant; } return null; } /** * * Loading module/Referentiel/view/referentiel/validation.phtml +1 −1 Changes for module/Referentiel/view/referentiel/validation.phtml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ foreach ($wells as $well => $title) { echo '<div class="well"><h2>' . $title . '</h2>'; foreach ($services[$well] as $validationId => $srvs) { $validation = $validations[$validationId]; echo $this->partial('application/service-referentiel/partial/validation-referentiel', [ echo $this->partial('referentiel/partial/validation-referentiel', [ 'validation' => $validation, 'structure' => $validation->getStructure(), 'services' => $srvs, Loading module/Service/view/service/intervenant/saisie.phtml +8 −7 Changes for module/Service/view/service/intervenant/saisie.phtml: 8 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -21,19 +21,17 @@ if ($typeVolumeHoraire->isPrevu()) { $title = 'Constatation des services réalisés'; } $menuUrl = $this->url(null, ['intervenant' => $intervenant->getId()], ['query' => ['menu' => 1]]); $menuUrl = (string)$this->url(null, ['intervenant' => $intervenant->getId()], ['query' => ['menu' => 1]]); $btnNextUrl = $this->url('workflow/feuille-de-route-btn-next', ['intervenant' => $intervenant->getId(), 'wfEtapeCode' => $nextEtape]); // campagnes de saisie... $this->intervenant($intervenant)->renderTitle($title); echo $this->messenger()->addCurrentMessagesFromFlashMessenger(); echo $this->plafonds($intervenant, $typeVolumeHoraire); if ($cloture && ($enseignements || $referentiels)) { $bottom = false; if ($cloture) echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); } if ($enseignements !== false) { echo '<h2>Enseignement</h2>'; Loading @@ -49,12 +47,15 @@ if ($referentiels !== false) { echo $ref; } if ($cloture && ($enseignements || $referentiels)) { $bottom = true; if ($cloture) echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); } echo $formuleTotauxHetd; echo $this->feuilleDeRoute($intervenant)->renderNav($nextEtape); if ($enseignements !== false || $referentiels !== false): ?> Loading module/Service/view/service/intervenant/services.phtml −x−155 File deleted. Show changes Loading
module/Application/src/View/Helper/Intervenant/IntervenantViewHelper.php +15 Changes for module/Application/src/View/Helper/Intervenant/IntervenantViewHelper.php: 15 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -46,6 +46,21 @@ class IntervenantViewHelper extends AbstractHtmlElement public function getCurrentIntervenant(): ?Intervenant { if ($this->intervenant) { return $this->intervenant; } if ($intervenant = $this->getServiceContext()->getSelectedIdentityRole()->getIntervenant()) { return $intervenant; } return null; } /** * * Loading
module/Referentiel/view/referentiel/validation.phtml +1 −1 Changes for module/Referentiel/view/referentiel/validation.phtml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ foreach ($wells as $well => $title) { echo '<div class="well"><h2>' . $title . '</h2>'; foreach ($services[$well] as $validationId => $srvs) { $validation = $validations[$validationId]; echo $this->partial('application/service-referentiel/partial/validation-referentiel', [ echo $this->partial('referentiel/partial/validation-referentiel', [ 'validation' => $validation, 'structure' => $validation->getStructure(), 'services' => $srvs, Loading
module/Service/view/service/intervenant/saisie.phtml +8 −7 Changes for module/Service/view/service/intervenant/saisie.phtml: 8 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -21,19 +21,17 @@ if ($typeVolumeHoraire->isPrevu()) { $title = 'Constatation des services réalisés'; } $menuUrl = $this->url(null, ['intervenant' => $intervenant->getId()], ['query' => ['menu' => 1]]); $menuUrl = (string)$this->url(null, ['intervenant' => $intervenant->getId()], ['query' => ['menu' => 1]]); $btnNextUrl = $this->url('workflow/feuille-de-route-btn-next', ['intervenant' => $intervenant->getId(), 'wfEtapeCode' => $nextEtape]); // campagnes de saisie... $this->intervenant($intervenant)->renderTitle($title); echo $this->messenger()->addCurrentMessagesFromFlashMessenger(); echo $this->plafonds($intervenant, $typeVolumeHoraire); if ($cloture && ($enseignements || $referentiels)) { $bottom = false; if ($cloture) echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); } if ($enseignements !== false) { echo '<h2>Enseignement</h2>'; Loading @@ -49,12 +47,15 @@ if ($referentiels !== false) { echo $ref; } if ($cloture && ($enseignements || $referentiels)) { $bottom = true; if ($cloture) echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); echo $this->partial('service/partial/cloture', compact('cloture', 'bottom')); } echo $formuleTotauxHetd; echo $this->feuilleDeRoute($intervenant)->renderNav($nextEtape); if ($enseignements !== false || $referentiels !== false): ?> Loading