Merge from branch 1.2
This commit is contained in:
commit
4f045a369c
@ -534,10 +534,15 @@ class Enrichissement
|
||||
'columns' => array()
|
||||
),
|
||||
'LienHead' => array(
|
||||
'lib' => 'Tête de lien',
|
||||
'lib' => 'Tête de lien financier',
|
||||
'help' => "",
|
||||
'columns' => array()
|
||||
),
|
||||
'LienHeadUltimate' => array(
|
||||
'lib' => 'Tête de lien ultime',
|
||||
'help' => "",
|
||||
'columns' => array()
|
||||
),
|
||||
);
|
||||
|
||||
public function __construct(){}
|
||||
|
@ -249,6 +249,7 @@ $tabDico = array(
|
||||
'NaceEnt',
|
||||
'TelOrder',
|
||||
'LienHead',
|
||||
'LienHeadUltimate',
|
||||
),
|
||||
'multiple' => array(
|
||||
'actionnaires',
|
||||
@ -1611,6 +1612,54 @@ function LienHeadData($siren, $nic, $values)
|
||||
return $tabData;
|
||||
}
|
||||
|
||||
function LienHeadUltimateEntete()
|
||||
{
|
||||
return array(
|
||||
'HeadId',
|
||||
'HeadSiren',
|
||||
'HeadIsin',
|
||||
'HeadPpPm',
|
||||
'HeadRS',
|
||||
'HeadPays',
|
||||
'HeadCivilite',
|
||||
'HeadNom',
|
||||
'HeadPrenom',
|
||||
'HeadNomUsage',
|
||||
'HeadNaissanceDate',
|
||||
'HeadNaissanceDeptPays',
|
||||
'HeadNaissanceLieu',
|
||||
);
|
||||
}
|
||||
|
||||
function LienHeadUltimateData($siren, $nic, $values)
|
||||
{
|
||||
global $dbJo;
|
||||
require_once 'Metier/partenaires/classMLiens2.php';
|
||||
|
||||
$c = new MLiens2($siren, 'siren', $dbJo);
|
||||
$id = $c->getHead();
|
||||
$result = $c->getIdentity($id);
|
||||
$tabData = array();
|
||||
if ( $result ) {
|
||||
$tabData = array(
|
||||
'HeadId' => $result->id,
|
||||
'HeadSiren' => $result->siren,
|
||||
'HeadIsin' => $result->isin,
|
||||
'HeadPpPm' => $result->PpPm,
|
||||
'HeadRS' => $result->RS,
|
||||
'HeadPays' => $result->adresse_pays,
|
||||
'HeadCivilite' => $result->civilite,
|
||||
'HeadNom' => $result->nom,
|
||||
'HeadPrenom' => $result->prenom,
|
||||
'HeadNomUsage' => $result->nom_usage,
|
||||
'HeadNaissanceDate' => $result->naissance_date,
|
||||
'HeadNaissanceDeptPays' => $result->naissance_dept_pays,
|
||||
'HeadNaissanceLieu' => $result->naissance_lieu,
|
||||
);
|
||||
}
|
||||
return $tabData;
|
||||
}
|
||||
|
||||
function actionnairesEntete()
|
||||
{
|
||||
return array(
|
||||
|
Loading…
Reference in New Issue
Block a user