This commit is contained in:
Michael RICOIS 2014-04-15 08:45:13 +00:00
commit 925ce79650

View File

@ -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;