Skip to content
Snippets Groups Projects
Commit ba5045f4 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Implementation de la cloture du dossier dans SIHAM

parent af707552
No related branches found
No related tags found
No related merge requests found
Pipeline #10828 passed
......@@ -997,6 +997,31 @@ class Siham
public function cloreDossier(array $params): bool
{
$paramsWS = ['ParamNomenclature' => [
'categorieSituation' => (isset($params['categorieSituation'])) ? $params['categorieSituation'] : '',
'dateSortie' => (isset($params['dateSortie'])) ? $params['dateSortie'] : '',
'matricule' => (isset($params['matricule'])) ? $params['matricule'] : '',
'motifSituation' => (isset($params['motifSituation'])) ? $params['motifSituation'] : '',
]];
try {
$client = $this->sihamClient->getClient('PECWebService');
$result = $client->CloreLeDossier($paramsWS);
$this->sendDebug('WS PECWebService / METHOD CloreLeDossier');
} catch (\Exception $e) {
$this->sendDebug('WS PECWebService / METHOD CloreLeDossier', $e);
throw new SihamException($e->getMessage(), 0, $e);
}
return true;
}
/**
*
* Méthode permettant de récupérer les valeurs d'une nomenclature (code répertoire) de SIHAM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment