Loading config.local.php.default −48 Changes for config.local.php.default: 0 added lines, 48 removed lines. Original line number Diff line number Diff line Loading @@ -566,52 +566,4 @@ return [ ], 'etapes' => ['FORMATION'], ], //Configuration pour la signature électronique 'unicaen-signature' => [ //Activation des logs pour la signature électronique 'log' => true, //Ce paramètre permet de tester la signature electronique avec un ou des utilisateurs précis //Si il est renseigné le ou les signataires seront toujours ceux là et non les intervenants OSE 'hook_recipients' => [ ['firstname' => 'Jean', 'lastname' => 'Dupont', 'email' => 'xxxxxxxx@yyyyyyyyy.fr',], ['firstname' => 'John', 'lastname' => 'Doe', 'email' => 'xxxxxxxx@yyyyyyyyy.fr',], ], //Paramètrage du parapheur Esup, seul parapheur disponible pour le moment 'letterfiles' => [ [ 'label' => 'ESUP signature', 'name' => 'esup', 'default' => true, 'class' => \UnicaenSignature\Strategy\Letterfile\Esup\EsupLetterfileStrategy::class, 'description' => 'Esup', /*Niveau de signature que vous souhaitez activer*/ 'levels' => [ 'visa_hidden' => 'hiddenVisa', 'visa_visual' => 'visa', 'sign_visual' => 'pdfImageStamp', 'sign_certif' => 'certSign', 'sign_eidas' => 'nexuSign', ], //URL esup et Utilisateur ESUP avec lequel les demandes de signatures seront envoyées 'config' => [ 'url' => "https://xxxx.fr", 'createdByEppn' => 'xxxxxxxx@yyyyyyyyy.fr', ], ], ], ], ]; module/Application/src/Service/FichierService.php +1 −1 Changes for module/Application/src/Service/FichierService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -262,7 +262,7 @@ class FichierService extends AbstractEntityService $role = $this->getServiceContext()->getSelectedIdentityRole(); $structure = $role->getStructure() ? $role->getStructure() : $intervenant->getStructure(); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::CODE_FICHIER); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::FICHIER); $validation = $this->getServiceValidation()->newEntity($typeValidation); $validation->setIntervenant($intervenant); Loading module/PieceJointe/src/Service/PieceJointeService.php +1 −1 Changes for module/PieceJointe/src/Service/PieceJointeService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -226,7 +226,7 @@ class PieceJointeService extends AbstractEntityService $intervenant = $pj->getIntervenant(); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::CODE_PIECE_JOINTE); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::PIECE_JOINTE); //On valide également tous les fichiers foreach ($pj->getFichier() as $fichier) { $this->getServiceFichier()->valider($fichier, $intervenant); Loading module/PieceJointe/src/Service/TblPieceJointeService.php +7 −6 Changes for module/PieceJointe/src/Service/TblPieceJointeService.php: 7 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ use PieceJointe\Entity\Db\TblPieceJointe; use UnicaenVue\View\Model\AxiosModel; use Workflow\Entity\Db\Validation; use Workflow\Entity\Db\WfEtape; use Workflow\Entity\Db\WorkflowEtape; use Workflow\Service\WorkflowServiceAwareTrait; /** Loading Loading @@ -155,24 +156,24 @@ class TblPieceJointeService extends AbstractEntityService protected function makeMessages(Intervenant $intervenant): array { $feuilleDeRoute = $this->getServiceWorkflow()->getFeuilleDeRoute($intervenant); $workflowEtapePjSaisie = $this->getServiceWorkflow()->getEtape(WfEtape::CODE_PJ_SAISIE, $intervenant); $workflowEtapePjValide = $this->getServiceWorkflow()->getEtape(WfEtape::CODE_PJ_VALIDATION, $intervenant); $workflowEtapePjSaisie = $feuilleDeRoute->get(WorkflowEtape::PJ_SAISIE); $workflowEtapePjValide = $feuilleDeRoute->get(WorkflowEtape::PJ_VALIDATION); $msgs = []; if ($workflowEtapePjSaisie != null) { if ($workflowEtapePjSaisie->getFranchie() != 1) { if (!$workflowEtapePjSaisie->isFranchie()) { $msg['type'] = 'danger'; $msg['text'] = "Des pièces justificatives obligatoires n'ont pas été fournies."; $msgs[] = $msg; unset($msg); } elseif ($workflowEtapePjSaisie->getFranchie() == 1 && $workflowEtapePjValide->getFranchie() == 1) { } elseif ($workflowEtapePjSaisie->isFranchie() && $workflowEtapePjValide->isFranchie()) { $msg['type'] = 'success'; $msg['text'] = "Toutes les pièces justificatives obligatoires ont été fournies et validées."; $msgs[] = $msg; unset($msg); } elseif ($workflowEtapePjSaisie->getFranchie() == 1 && $workflowEtapePjValide->getFranchie() != 1) { } elseif ($workflowEtapePjSaisie->isFranchie() && !$workflowEtapePjValide->isFranchie()) { $msg['type'] = 'success'; $msg['text'] = "Toutes les pièces justificatives obligatoires ont été fournies."; $msgs[] = $msg; Loading module/Workflow/src/Tbl/Process/WorkflowProcess.php +1 −1 Changes for module/Workflow/src/Tbl/Process/WorkflowProcess.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -357,7 +357,7 @@ class WorkflowProcess implements ProcessInterface // Pièces justificatives [ [//DEMANDEE_APRES_RECRUTEMENT 'etapes' => [WorkflowEtape::PJ_SAISIE, WorkflowEtape::PJ_VALIDATION], 'sql' => "CASE WHEN EXISTS( Loading Loading
config.local.php.default −48 Changes for config.local.php.default: 0 added lines, 48 removed lines. Original line number Diff line number Diff line Loading @@ -566,52 +566,4 @@ return [ ], 'etapes' => ['FORMATION'], ], //Configuration pour la signature électronique 'unicaen-signature' => [ //Activation des logs pour la signature électronique 'log' => true, //Ce paramètre permet de tester la signature electronique avec un ou des utilisateurs précis //Si il est renseigné le ou les signataires seront toujours ceux là et non les intervenants OSE 'hook_recipients' => [ ['firstname' => 'Jean', 'lastname' => 'Dupont', 'email' => 'xxxxxxxx@yyyyyyyyy.fr',], ['firstname' => 'John', 'lastname' => 'Doe', 'email' => 'xxxxxxxx@yyyyyyyyy.fr',], ], //Paramètrage du parapheur Esup, seul parapheur disponible pour le moment 'letterfiles' => [ [ 'label' => 'ESUP signature', 'name' => 'esup', 'default' => true, 'class' => \UnicaenSignature\Strategy\Letterfile\Esup\EsupLetterfileStrategy::class, 'description' => 'Esup', /*Niveau de signature que vous souhaitez activer*/ 'levels' => [ 'visa_hidden' => 'hiddenVisa', 'visa_visual' => 'visa', 'sign_visual' => 'pdfImageStamp', 'sign_certif' => 'certSign', 'sign_eidas' => 'nexuSign', ], //URL esup et Utilisateur ESUP avec lequel les demandes de signatures seront envoyées 'config' => [ 'url' => "https://xxxx.fr", 'createdByEppn' => 'xxxxxxxx@yyyyyyyyy.fr', ], ], ], ], ];
module/Application/src/Service/FichierService.php +1 −1 Changes for module/Application/src/Service/FichierService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -262,7 +262,7 @@ class FichierService extends AbstractEntityService $role = $this->getServiceContext()->getSelectedIdentityRole(); $structure = $role->getStructure() ? $role->getStructure() : $intervenant->getStructure(); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::CODE_FICHIER); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::FICHIER); $validation = $this->getServiceValidation()->newEntity($typeValidation); $validation->setIntervenant($intervenant); Loading
module/PieceJointe/src/Service/PieceJointeService.php +1 −1 Changes for module/PieceJointe/src/Service/PieceJointeService.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -226,7 +226,7 @@ class PieceJointeService extends AbstractEntityService $intervenant = $pj->getIntervenant(); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::CODE_PIECE_JOINTE); $typeValidation = $this->getServiceTypeValidation()->getByCode(TypeValidation::PIECE_JOINTE); //On valide également tous les fichiers foreach ($pj->getFichier() as $fichier) { $this->getServiceFichier()->valider($fichier, $intervenant); Loading
module/PieceJointe/src/Service/TblPieceJointeService.php +7 −6 Changes for module/PieceJointe/src/Service/TblPieceJointeService.php: 7 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ use PieceJointe\Entity\Db\TblPieceJointe; use UnicaenVue\View\Model\AxiosModel; use Workflow\Entity\Db\Validation; use Workflow\Entity\Db\WfEtape; use Workflow\Entity\Db\WorkflowEtape; use Workflow\Service\WorkflowServiceAwareTrait; /** Loading Loading @@ -155,24 +156,24 @@ class TblPieceJointeService extends AbstractEntityService protected function makeMessages(Intervenant $intervenant): array { $feuilleDeRoute = $this->getServiceWorkflow()->getFeuilleDeRoute($intervenant); $workflowEtapePjSaisie = $this->getServiceWorkflow()->getEtape(WfEtape::CODE_PJ_SAISIE, $intervenant); $workflowEtapePjValide = $this->getServiceWorkflow()->getEtape(WfEtape::CODE_PJ_VALIDATION, $intervenant); $workflowEtapePjSaisie = $feuilleDeRoute->get(WorkflowEtape::PJ_SAISIE); $workflowEtapePjValide = $feuilleDeRoute->get(WorkflowEtape::PJ_VALIDATION); $msgs = []; if ($workflowEtapePjSaisie != null) { if ($workflowEtapePjSaisie->getFranchie() != 1) { if (!$workflowEtapePjSaisie->isFranchie()) { $msg['type'] = 'danger'; $msg['text'] = "Des pièces justificatives obligatoires n'ont pas été fournies."; $msgs[] = $msg; unset($msg); } elseif ($workflowEtapePjSaisie->getFranchie() == 1 && $workflowEtapePjValide->getFranchie() == 1) { } elseif ($workflowEtapePjSaisie->isFranchie() && $workflowEtapePjValide->isFranchie()) { $msg['type'] = 'success'; $msg['text'] = "Toutes les pièces justificatives obligatoires ont été fournies et validées."; $msgs[] = $msg; unset($msg); } elseif ($workflowEtapePjSaisie->getFranchie() == 1 && $workflowEtapePjValide->getFranchie() != 1) { } elseif ($workflowEtapePjSaisie->isFranchie() && !$workflowEtapePjValide->isFranchie()) { $msg['type'] = 'success'; $msg['text'] = "Toutes les pièces justificatives obligatoires ont été fournies."; $msgs[] = $msg; Loading
module/Workflow/src/Tbl/Process/WorkflowProcess.php +1 −1 Changes for module/Workflow/src/Tbl/Process/WorkflowProcess.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -357,7 +357,7 @@ class WorkflowProcess implements ProcessInterface // Pièces justificatives [ [//DEMANDEE_APRES_RECRUTEMENT 'etapes' => [WorkflowEtape::PJ_SAISIE, WorkflowEtape::PJ_VALIDATION], 'sql' => "CASE WHEN EXISTS( Loading