fixed issue #0000132 : affichage après libellé "Situation juridique", actif + source rncs
This commit is contained in:
parent
baa783aaf0
commit
e41926380e
@ -135,11 +135,14 @@ function identite_actif($siren, $siret, $idEntreprise, $siege, $actif, $dateClot
|
|||||||
return array( $lib , $data );
|
return array( $lib , $data );
|
||||||
}
|
}
|
||||||
|
|
||||||
function identite_situationjuridique($situationjuridique, $dateRadiation, $siret, $idEntreprise)
|
function identite_situationjuridique($situationjuridique, $dateRadiation, $actifrncs, $siret, $idEntreprise)
|
||||||
{
|
{
|
||||||
|
global $firephp;
|
||||||
|
$firephp->log($actifrncs, 'actifrncs');
|
||||||
|
$lib = 'Situation juridique';
|
||||||
|
$output = false;
|
||||||
if ( $situationjuridique=='P' || $situationjuridique[0]=='R' || $_SESSION['tabInfo']['mode_edition']==1)
|
if ( $situationjuridique=='P' || $situationjuridique[0]=='R' || $_SESSION['tabInfo']['mode_edition']==1)
|
||||||
{
|
{
|
||||||
$lib = 'Situation juridique';
|
|
||||||
$dateRad = '';
|
$dateRad = '';
|
||||||
if(isset($dateRadiation) && $dateRadiation!='' && $dateRadiation!='0000-00-00'){
|
if(isset($dateRadiation) && $dateRadiation!='' && $dateRadiation!='0000-00-00'){
|
||||||
$dateRad = WDate::dateT('Ymd', 'd/m/Y', str_replace('-','',$dateRadiation));
|
$dateRad = WDate::dateT('Ymd', 'd/m/Y', str_replace('-','',$dateRadiation));
|
||||||
@ -165,12 +168,14 @@ function identite_situationjuridique($situationjuridique, $dateRadiation, $siret
|
|||||||
{
|
{
|
||||||
$data.= '<a href="./?page=saisie&siret='.$siret.'&idEntreprise='.$idEntreprise.'">(Edition)</a>';
|
$data.= '<a href="./?page=saisie&siret='.$siret.'&idEntreprise='.$idEntreprise.'">(Edition)</a>';
|
||||||
}
|
}
|
||||||
return array( $lib , $data );
|
$output = array( $lib , $data );
|
||||||
}
|
}
|
||||||
else
|
elseif($actifrncs == 1)
|
||||||
{
|
{
|
||||||
return false;
|
$data = 'Actif <img src="./img/exclamation.png" title="source RNCS"/>';
|
||||||
|
$output = array( $lib , $data );
|
||||||
}
|
}
|
||||||
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
function identite_raisonsociale($nom, $nom2, $nomlong)
|
function identite_raisonsociale($nom, $nom2, $nomlong)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user