diff --git a/scripts/jobs/enrichissement.php b/scripts/jobs/enrichissement.php index 583dd4f5..0cb97c54 100644 --- a/scripts/jobs/enrichissement.php +++ b/scripts/jobs/enrichissement.php @@ -1477,7 +1477,7 @@ function TelOrderData($siren, $nic, $values) require_once 'Metier/partenaires/classMTel.php'; $c = new MTel(false, $iDb); - $result = $c->getTel($siren, 0, true, 1); + $result = $c->getTel($siren, $nic, true, 1); $tabData = array(); if ( count($result)>0 ) { $element = array( @@ -1501,6 +1501,7 @@ function LienHeadEntete() 'HeadIsin', 'HeadPpPm', 'HeadRS', + 'HeadPays', ); } @@ -1519,6 +1520,7 @@ function LienHeadData($siren, $nic, $values) 'HeadIsin' => $result->isin, 'HeadPpPm' => $result->PpPm, 'HeadRS' => $result->RS, + 'HeadPays' => $result->adresse_pays ); } return $tabData;