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
2d5df9d0
Commit
2d5df9d0
authored
Sep 27, 2021
by
Antony Le Courtes
Browse files
Coquille
parent
74f50550
Changes
3
Hide whitespace changes
Inline
Side-by-side
composer.lock
View file @
2d5df9d0
...
...
@@ -2898,7 +2898,7 @@
"source": {
"type": "git",
"url": "https://git.unicaen.fr/lib/unicaen/siham.git",
"reference": "
9ae9dbd52629b1a01ccb647307b1aa7cf07086e4
"
"reference": "
cbc2a7482dd157f96029e8438da63cf0c76ca4d9
"
},
"require": {
"zendframework/zend-mail": "^2.10",
...
...
@@ -2923,7 +2923,7 @@
}
],
"description": "PHP library for SIHAM webservices",
"time": "2021-09-27T
08:51:32
+00:00"
"time": "2021-09-27T
10:14:03
+00:00"
},
{
"name": "unicaen/tbl",
...
...
module/ExportRh/src/Connecteur/Siham/SihamConnecteur.php
View file @
2d5df9d0
...
...
@@ -10,11 +10,9 @@ use ExportRh\Entity\IntervenantRh;
use
ExportRh\Form\Fieldset\SihamFieldset
;
use
ExportRh\Service\ExportRhServiceAwareTrait
;
use
UnicaenApp\Util
;
use
UnicaenSiham\Entity\Agent
;
use
UnicaenSiham\Exception\SihamException
;
use
UnicaenSiham\Service\Siham
;
use
Zend\Form\Fieldset
;
use
Zend\Validator\Date
;
class
SihamConnecteur
implements
ConnecteurRhInterface
...
...
@@ -403,7 +401,6 @@ class SihamConnecteur implements ConnecteurRhInterface
'debutAdresse'
=>
$dateEffet
,
];
//TODO : travailler les coordonnées bancaires pour la prise en charge
/*COORDONNEES BANCAIRES*/
$coordonnees
=
$this
->
siham
->
formatCoordoonneesBancairesForSiham
(
$dossierIntervenant
->
getIBAN
(),
$dossierIntervenant
->
getBIC
());
$coordonnees
[
'dateDebBanque'
]
=
$dateEffet
;
...
...
@@ -454,7 +451,7 @@ class SihamConnecteur implements ConnecteurRhInterface
'dateEmbauche'
=>
$dateEffet
,
'dateNaissance'
=>
$dossierIntervenant
->
getDateNaissance
()
->
format
(
'Y-m-d'
),
'villeNaissance'
=>
$dossierIntervenant
->
getCommuneNaissance
(),
'departementNaissance'
=>
(
!
empty
(
$dossierIntervenant
->
getDepartementNaissance
()))
?
substr
(
1
,
2
,
$dossierIntervenant
->
getDepartementNaissance
()
->
getCode
())
:
''
,
'departementNaissance'
=>
(
!
empty
(
$dossierIntervenant
->
getDepartementNaissance
()))
?
substr
(
$dossierIntervenant
->
getDepartementNaissance
()
->
getCode
()
,
1
,
2
)
:
''
,
'paysNaissance'
=>
'FRA'
,
'emploi'
=>
$datas
[
'connecteurForm'
][
'emploi'
],
'listeCoordonneesPostales'
=>
$coordonneesPostales
,
...
...
module/ExportRh/src/Controller/ExportRhController.php
View file @
2d5df9d0
...
...
@@ -192,7 +192,7 @@ class ExportRhController extends AbstractController
$result
=
$this
->
exportRhService
->
priseEnChargeIntrervenantRh
(
$intervenant
,
$posts
);
if
(
$result
!==
false
)
{
$this
->
exportRhService
->
cloreDossier
(
$intervenant
);
$this
->
flashMessenger
()
->
addSuccessMessage
(
'La prise en charge s\'est déroulée avec succés et le dossier a été cloturé'
);
...
...
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