fix renvoi des événements
This commit is contained in:
parent
21c0a6ff31
commit
fc06909848
@ -1878,23 +1878,23 @@ class Interne extends WsScore
|
||||
$annonceCollecte->ville = $ann['ville'];
|
||||
$annonceCollecte->dateJugement = $ann['dateJugement'];
|
||||
|
||||
//@todo : Les libellées ne sont pas présent LibEven
|
||||
$tabEven = array();
|
||||
foreach ( $ann['typeEven'] as $code => $even )
|
||||
{
|
||||
$annonceEvenement = new AnnonceEvenement();
|
||||
$annonceEvenement->codeEven = $code;
|
||||
$annonceEvenement->LibEven = $even;
|
||||
$tabEven[] = $annonceEvenement;
|
||||
}
|
||||
foreach ( explode(';',$ann['strEven']) as $code => $even )
|
||||
{
|
||||
$annonceEvenement = new AnnonceEvenement();
|
||||
$annonceEvenement->codeEven = $code;
|
||||
$annonceEvenement->LibEven = $even;
|
||||
$tabEven[] = $annonceEvenement;
|
||||
$annonceEvenement = new AnnonceEvenement();
|
||||
$annonceEvenement->CodeEven = $ann['typeEven'];
|
||||
$annonceEvenement->LibEven = '';
|
||||
$tabEven[] = $annonceEvenement;
|
||||
if (!empty($ann['strEven'])){
|
||||
foreach ( explode(';',$ann['strEven']) as $code )
|
||||
{
|
||||
$annonceEvenement = new AnnonceEvenement();
|
||||
$annonceEvenement->CodeEven = $code;
|
||||
$annonceEvenement->LibEven = '';
|
||||
$tabEven[] = $annonceEvenement;
|
||||
}
|
||||
}
|
||||
|
||||
$annonceCollecte->even = $tabEven;
|
||||
|
||||
$annonceCollecte->dateSource = $ann['dateSource'];
|
||||
$annonceCollecte->dateCessationPaiement = $ann['dateCessationPaiement'];
|
||||
$annonceCollecte->dateEffetFinP = $ann['dateEffetFinP'];
|
||||
|
Loading…
Reference in New Issue
Block a user