Correction sur l'affichage des sources
This commit is contained in:
parent
df3b40bc85
commit
245e4947f1
@ -170,19 +170,21 @@ if ($idan && ($vue=='bodacc' || $vue=='abod' || $vue=='balo' || $vue=='asso')) {
|
||||
$source=$tabSource[0];
|
||||
$firephp->log($source,'Source');
|
||||
$idSource=@$tabSource[1];
|
||||
if ($source=='GC' || $source=='TS')
|
||||
echo '<img src="./img/logo_greffe.png"/> Source Tribunal';
|
||||
elseif ($source=='PC')
|
||||
echo '<img src="./img/logo_inpi.png"/> Source Registre National du Commerce';
|
||||
elseif (/*$source=='' ||*/ $source=='JS')
|
||||
echo '<img src="./img/logo_jal.png"/> Source Journal Annonces Légales';
|
||||
elseif ($ann['BodaccNum']==0)
|
||||
echo '<img src="./img/logo_jo.png"/> Source BODACC '.substr($ann['BodaccCode'],-1).' du '.WDate::dateT('Y-m-d','d/m/Y',$ann['DateParution']);
|
||||
else
|
||||
echo '<img src="./img/logo_jo.png"/> Source BODACC n°'.$ann['BodaccNum'].' '.substr($ann['BodaccCode'],-1).' du '.WDate::dateT('Y-m-d','d/m/Y',$ann['DateParution']);?>. Département n°<?=$ann['Departement']?>. <!--<a href="/?page=identite&siret=<?=$ann['TribunalSiret']?>">--><a href="/?page=competences&siret=<?=$siret?>&type=tri"><?=$ann['Tribunal']?></a>.<?
|
||||
|
||||
if ($ann['dateInsertionSD']<>'') echo 'Entrée en base : '. WDate::dateT('Y-m-d','d/m/Y',$ann['dateInsertionSD']);
|
||||
?>
|
||||
if ($source[0] == 'B'){
|
||||
if ($ann['BodaccNum']==0)
|
||||
print '<img src="./img/logo_jo.png"/> Source BODACC '.substr($ann['BodaccCode'],-1).' du '.WDate::dateT('Y-m-d','d/m/Y',$ann['DateParution']);
|
||||
else
|
||||
print '<img src="./img/logo_jo.png"/> Source BODACC n°'.$ann['BodaccNum'].' '.substr($ann['BodaccCode'],-1).' du '.WDate::dateT('Y-m-d','d/m/Y',$ann['DateParution']).'. Département n°'.$ann['Departement'].'. <a href="/?page=competences&siret='.$siret.'&type=tri">'.$ann['Tribunal'].'</a>';
|
||||
}elseif ($source[0] == 'G' || $source[0] == 'T'){
|
||||
print '<img src="./img/logo_greffe.png"/> Source Greffe du Tribunal';
|
||||
}elseif ($source[0] == 'P'){
|
||||
print '<img src="./img/logo_inpi.png"/> Source Registre National du Commerce';
|
||||
}else{
|
||||
print '<img src="./img/logo_jal.png"/> Source Journal Annonces Légales';
|
||||
}
|
||||
|
||||
if ($ann['dateInsertionSD']<>'') echo ' Entrée en base : '. WDate::dateT('Y-m-d','d/m/Y',$ann['dateInsertionSD']);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
@ -265,16 +267,16 @@ if ($idan && ($vue=='bodacc' || $vue=='abod' || $vue=='balo' || $vue=='asso')) {
|
||||
$source=$tabSource[0];
|
||||
$firephp->log($source, 'Source List');
|
||||
$idSource=@$tabSource[1];
|
||||
if ($source=='BODA' || $source=='BODB' || $source=='BODC')
|
||||
echo '<img src="./img/logo_jo.png" title="Source BODACC '.$ann['BodaccNum'].' '.substr($source,-1).' '.substr($ann['DateParution'],0,4).'"/>';
|
||||
elseif ($source=='GC' || $source=='TS' )
|
||||
echo '<img src="./img/logo_greffe.png" title="Source Collecte Greffe"/>';
|
||||
elseif ($source=='PC')
|
||||
echo '<img src="./img/logo_inpi.png" title="Source Collecte RNCS"/>';
|
||||
else {
|
||||
echo '<img src="./img/logo_jal.png" title="Source Collecte JAL';
|
||||
if ($idSource>0) echo " $idSource";
|
||||
echo '"/>';
|
||||
if ($source[0] == 'B'){
|
||||
print '<img src="./img/logo_jo.png" title="Source BODACC '.$ann['BodaccNum'].' '.substr($source,-1).' '.substr($ann['DateParution'],0,4).'"/>';
|
||||
}elseif ($source[0] == 'G' || $source[0] == 'T'){
|
||||
print '<img src="./img/logo_greffe.png" title="Source Collecte Greffe"/>';
|
||||
}elseif ($source[0] == 'P'){
|
||||
print '<img src="./img/logo_inpi.png" title="Source Collecte RNCS"/>';
|
||||
}else{
|
||||
print '<img src="./img/logo_jal.png" title="Source Collecte JAL';
|
||||
if ($idSource>0) print ' $idSource';
|
||||
print '"/>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user