Loading module/Agrement/src/Assertion/AgrementAssertion.php +1 −1 Changes for module/Agrement/src/Assertion/AgrementAssertion.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ class AgrementAssertion extends AbstractAssertion { /* Si c'est pour agréer et que le workflow l'interdit alors non! */ $feuilleDeRoute = $this->getServiceWorkflow()->getFeuilleDeRoute($entity->getIntervenant()); $wfEtape = $feuilleDeRoute->get($entity->getTypeAgrement()->getCode()); $wfEtape = $feuilleDeRoute->get(strtolower($entity->getTypeAgrement()->getCode())); if (!$wfEtape?->isAllowed()){ return false; Loading Loading
module/Agrement/src/Assertion/AgrementAssertion.php +1 −1 Changes for module/Agrement/src/Assertion/AgrementAssertion.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -129,7 +129,7 @@ class AgrementAssertion extends AbstractAssertion { /* Si c'est pour agréer et que le workflow l'interdit alors non! */ $feuilleDeRoute = $this->getServiceWorkflow()->getFeuilleDeRoute($entity->getIntervenant()); $wfEtape = $feuilleDeRoute->get($entity->getTypeAgrement()->getCode()); $wfEtape = $feuilleDeRoute->get(strtolower($entity->getTypeAgrement()->getCode())); if (!$wfEtape?->isAllowed()){ return false; Loading