Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
a8ed4a55
Commit
a8ed4a55
authored
Sep 21, 2021
by
Antony Le Courtes
Browse files
Disable contrat (ne fonctionne pas)
parent
2a862dbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/ExportRh/src/Connecteur/Siham/SihamConnecteur.php
View file @
a8ed4a55
...
...
@@ -354,6 +354,14 @@ class SihamConnecteur implements ConnecteurRhInterface
'qualiteStatutaire'
=>
'N'
,
'temoinValidite'
=>
1
,
];
/*CONTRAT*/
$contrat
[]
=
[
'dateDebutContrat'
=>
$dateEffet
,
'dateFinContrat'
=>
$dateFin
,
'natureContrat'
=>
'CO'
,
'typeContrat'
=>
'TC01'
,
'typeLienJuridique'
=>
'TL02'
,
];
/*POSITION ADMINISTRATIVE*/
$position
[]
=
...
...
@@ -399,28 +407,28 @@ class SihamConnecteur implements ConnecteurRhInterface
$coordonneesTelMail
[]
=
''
;
if
(
$dossierIntervenant
->
getTelPro
())
{
if
(
!
empty
(
$dossierIntervenant
->
getTelPro
())
)
{
$coordonneesTelMail
[]
=
[
'dateDebutTel'
=>
$dateEffet
,
'numero'
=>
$dossierIntervenant
->
getTelPro
(),
'typeNumero'
=>
Siham
::
SIHAM_CODE_TYPOLOGIE_FIXE_PRO
,
];
}
if
(
$dossierIntervenant
->
getTelPerso
())
{
if
(
!
empty
(
$dossierIntervenant
->
getTelPerso
())
)
{
$coordonneesTelMail
[]
=
[
'dateDebutTel'
=>
$dateEffet
,
'numero'
=>
$dossierIntervenant
->
getTelPerso
(),
'typeNumero'
=>
Siham
::
SIHAM_CODE_TYPOLOGIE_PORTABLE_PERSO
,
];
}
if
(
$dossierIntervenant
->
getEmailPro
())
{
if
(
!
empty
(
$dossierIntervenant
->
getEmailPro
())
)
{
$coordonneesTelMail
[]
=
[
'dateDebutTel'
=>
$dateEffet
,
'numero'
=>
$dossierIntervenant
->
getEmailPro
(),
'typeNumero'
=>
Siham
::
SIHAM_CODE_TYPOLOGIE_EMAIL_PRO
,
];
}
if
(
$dossierIntervenant
->
getEmailPerso
())
{
if
(
!
empty
(
$dossierIntervenant
->
getEmailPerso
())
)
{
$coordonneesTelMail
[]
=
[
'dateDebutTel'
=>
$dateEffet
,
'numero'
=>
$dossierIntervenant
->
getEmailPerso
(),
...
...
@@ -446,6 +454,7 @@ class SihamConnecteur implements ConnecteurRhInterface
'listeCoordonneesPostales'
=>
$coordonneesPostales
,
'listeCoordonneesBancaires'
=>
$coordonneesBancaires
,
'listeCarriere'
=>
$carriere
,
//'listeContrats' => $contrat,
'listeModalitesServices'
=>
$service
,
'listeStatuts'
=>
$statut
,
'listeNationalites'
=>
$nationalites
,
...
...
@@ -462,11 +471,13 @@ class SihamConnecteur implements ConnecteurRhInterface
'UO'
=>
$datas
[
'connecteurForm'
][
'affectation'
],
];
$matricule
=
$this
->
siham
->
priseEnChargeAgent
(
$params
);
$matricule
=
$this
->
siham
->
priseEnChargeAgent
(
$params
);
return
$matricule
;
}
catch
(
SihamException
$e
)
{
throw
new
\
Exception
(
$e
->
getMessage
());
}
}
...
...
@@ -543,7 +554,7 @@ class SihamConnecteur implements ConnecteurRhInterface
'listeCarriere'
=>
$carriere
,
'listeModalitesServices'
=>
$service
,
'listeStatuts'
=>
$statut
,
'listeContrats'
=>
$contrat
,
//
'listeContrats' => $contrat,
'listePositions'
=>
$position
,
'motifEntree'
=>
'REN'
,
'matricule'
=>
$matricule
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment