Skip to content
Snippets Groups Projects
Commit 59b2b283 authored by Florian Joriot's avatar Florian Joriot
Browse files

Correction tbl

parent e22c8862
No related branches found
No related tags found
No related merge requests found
Pipeline #35253 passed
......@@ -411,10 +411,10 @@ WHERE
foreach ($avenantNecessaireDate as $avenant) {
$newAvenant = [];
$newAvenant['INTERVENANT_ID'] = (int)($avenant['INTERVENANT_ID'] ?? NULL);
$newAvenant['ANNEE_ID'] = (int)($avenant['ANNEE_ID'] ?? NULL);
$newAvenant['STRUCTURE_ID'] = (int)($avenant['STRUCTURE_ID'] ?? NULL);
$newAvenant['CONTRAT_PARENT_ID'] = (int)($avenant['CONTRAT_PARENT_ID'] ?? NULL);
$newAvenant['INTERVENANT_ID'] = $avenant['INTERVENANT_ID'] ? (int)$avenant['INTERVENANT_ID'] : NULL;
$newAvenant['ANNEE_ID'] = $avenant['ANNEE_ID'] ? (int)$avenant['ANNEE_ID'] : NULL;
$newAvenant['STRUCTURE_ID'] = $avenant['STRUCTURE_ID'] ? (int)$avenant['STRUCTURE_ID'] : NULL;
$newAvenant['CONTRAT_PARENT_ID'] = $avenant['CONTRAT_PARENT_ID'] ? (int)$avenant['CONTRAT_PARENT_ID'] : NULL;
$newAvenant['UUID'] = 'avenant_' . $newAvenant['INTERVENANT_ID'] . '_' . $newAvenant['CONTRAT_PARENT_ID'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment