Procol : non prise en compte de la date d'effet

This commit is contained in:
Michael RICOIS 2017-03-06 15:37:55 +01:00
parent fa3dee27d5
commit 2823d6b034
2 changed files with 636 additions and 641 deletions

View File

@ -3694,9 +3694,6 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
$tabJugements = array();
foreach ($annoncesList as $i => $ann) {
$date = str_replace('-','', $ann['dateJugement']);
if (intval($date) == 0) {
$date = str_replace('-','', $ann['dateEffet']);
}
if (intval($date) == 0) {
$date = str_replace('-','', $ann['dateParution']);
}
@ -3709,7 +3706,7 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
$annFormat = new stdClass();
$date = str_replace('-', '', $ann['dateJugement']);
if (intval($date) == 0) {
$date = str_replace('-', '', $ann['dateEffet']);
$date = str_replace('-','', $ann['dateParution']);
}
$annFormat->date = $date;
$annFormat->code = $ann['evenements'][0]['CodeEven'];

File diff suppressed because it is too large Load Diff