Loading data/Déploiement/Changements.pdf (170 KiB) File changed.No diff preview for this file type. View original file View changed file data/Déploiement/Procédure d'installation.pdf (201 KiB) File changed.No diff preview for this file type. View original file View changed file data/Déploiement/Procédure de mise à jour.pdf (158 KiB) File changed.No diff preview for this file type. View original file View changed file module/Application/src/Application/Controller/WorkflowController.php +7 −1 Changes for module/Application/src/Application/Controller/WorkflowController.php: 7 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -155,10 +155,16 @@ class WorkflowController extends AbstractController $intervenant = $this->getEvent()->getParam('intervenant'); if ($intervenant){ $this->getServiceWorkflow()->calculerTableauxBord([], $intervenant); $errors = $this->getServiceWorkflow()->calculerTableauxBord([], $intervenant); } if (empty($errors)){ $this->flashMessenger()->addSuccessMessage('Feuille de route actualisée.'); }else{ foreach( $errors as $error){ $this->flashMessenger()->addErrorMessage($error->getMessage()); } } return new MessengerViewModel(); } Loading module/Application/src/Application/Service/WorkflowService.php +8 −2 Changes for module/Application/src/Application/Service/WorkflowService.php: 8 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -317,8 +317,10 @@ class WorkflowService extends AbstractService * @param array $tableauxBords * @param Intervenant|Intervenant[]|string $intervenant */ public function calculerTableauxBord($tableauxBords = [], $intervenant) public function calculerTableauxBord($tableauxBords = [], $intervenant): array { $errors = []; $deps = [ 'formule' => ['agrement', 'paiement'], 'piece_jointe_demande' => ['piece_jointe'], Loading Loading @@ -364,14 +366,18 @@ class WorkflowService extends AbstractService $params = 'INTERVENANT_ID IN (' . $intervenant . ')'; } try { $this->getServiceTableauBord()->calculer( $dep, $params ); }catch(\Exception $e ){ $errors[$dep] = $e; } } } return $this; return $errors; } Loading Loading
data/Déploiement/Changements.pdf (170 KiB) File changed.No diff preview for this file type. View original file View changed file
data/Déploiement/Procédure d'installation.pdf (201 KiB) File changed.No diff preview for this file type. View original file View changed file
data/Déploiement/Procédure de mise à jour.pdf (158 KiB) File changed.No diff preview for this file type. View original file View changed file
module/Application/src/Application/Controller/WorkflowController.php +7 −1 Changes for module/Application/src/Application/Controller/WorkflowController.php: 7 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -155,10 +155,16 @@ class WorkflowController extends AbstractController $intervenant = $this->getEvent()->getParam('intervenant'); if ($intervenant){ $this->getServiceWorkflow()->calculerTableauxBord([], $intervenant); $errors = $this->getServiceWorkflow()->calculerTableauxBord([], $intervenant); } if (empty($errors)){ $this->flashMessenger()->addSuccessMessage('Feuille de route actualisée.'); }else{ foreach( $errors as $error){ $this->flashMessenger()->addErrorMessage($error->getMessage()); } } return new MessengerViewModel(); } Loading
module/Application/src/Application/Service/WorkflowService.php +8 −2 Changes for module/Application/src/Application/Service/WorkflowService.php: 8 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -317,8 +317,10 @@ class WorkflowService extends AbstractService * @param array $tableauxBords * @param Intervenant|Intervenant[]|string $intervenant */ public function calculerTableauxBord($tableauxBords = [], $intervenant) public function calculerTableauxBord($tableauxBords = [], $intervenant): array { $errors = []; $deps = [ 'formule' => ['agrement', 'paiement'], 'piece_jointe_demande' => ['piece_jointe'], Loading Loading @@ -364,14 +366,18 @@ class WorkflowService extends AbstractService $params = 'INTERVENANT_ID IN (' . $intervenant . ')'; } try { $this->getServiceTableauBord()->calculer( $dep, $params ); }catch(\Exception $e ){ $errors[$dep] = $e; } } } return $this; return $errors; } Loading