Nic telephone TelOrder

This commit is contained in:
Michael RICOIS 2014-04-15 08:43:22 +00:00
parent d32445ed71
commit 18965841d6

View File

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