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

correction VA

parent 30825449
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ class ExportRhHydrator implements HydratorInterface ...@@ -24,7 +24,7 @@ class ExportRhHydrator implements HydratorInterface
//On mappe automatiquement le bon statut RH selon le statut OSE //On mappe automatiquement le bon statut RH selon le statut OSE
$statut = $object->getStatut(); $statut = $object->getStatut();
$statutRh = $statut->getCodesCorresp2(); $statutRh = $statut->getCodesCorresp2();
$typeEmploi = ($statut->getCodesCorresp3()) ? 'UCNVA' : 'UCNVCE'; $typeEmploi = (strtolower(trim($statut->getCodesCorresp3())) == 'oui') ? 'UCNVA' : 'UCNVCE';
$data['connecteurForm'] = [ $data['connecteurForm'] = [
'statut' => $statutRh, 'statut' => $statutRh,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment