Procol : non prise en compte de la date d'effet
This commit is contained in:
parent
fa3dee27d5
commit
2823d6b034
@ -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
Loading…
Reference in New Issue
Block a user