Commit 6a3a430d authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

correction VA

parent 30825449
...@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment