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];
|
$source=$tabSource[0];
|
||||||
$firephp->log($source,'Source');
|
$firephp->log($source,'Source');
|
||||||
$idSource=@$tabSource[1];
|
$idSource=@$tabSource[1];
|
||||||
if ($source=='GC' || $source=='TS')
|
if ($source[0] == 'B'){
|
||||||
echo '<img src="./img/logo_greffe.png"/> Source Tribunal';
|
if ($ann['BodaccNum']==0)
|
||||||
elseif ($source=='PC')
|
print '<img src="./img/logo_jo.png"/> Source BODACC '.substr($ann['BodaccCode'],-1).' du '.WDate::dateT('Y-m-d','d/m/Y',$ann['DateParution']);
|
||||||
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
|
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>.<?
|
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']);
|
if ($ann['dateInsertionSD']<>'') echo ' Entrée en base : '. WDate::dateT('Y-m-d','d/m/Y',$ann['dateInsertionSD']);
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?
|
<?
|
||||||
@ -265,16 +267,16 @@ if ($idan && ($vue=='bodacc' || $vue=='abod' || $vue=='balo' || $vue=='asso')) {
|
|||||||
$source=$tabSource[0];
|
$source=$tabSource[0];
|
||||||
$firephp->log($source, 'Source List');
|
$firephp->log($source, 'Source List');
|
||||||
$idSource=@$tabSource[1];
|
$idSource=@$tabSource[1];
|
||||||
if ($source=='BODA' || $source=='BODB' || $source=='BODC')
|
if ($source[0] == 'B'){
|
||||||
echo '<img src="./img/logo_jo.png" title="Source BODACC '.$ann['BodaccNum'].' '.substr($source,-1).' '.substr($ann['DateParution'],0,4).'"/>';
|
print '<img src="./img/logo_jo.png" title="Source BODACC '.$ann['BodaccNum'].' '.substr($source,-1).' '.substr($ann['DateParution'],0,4).'"/>';
|
||||||
elseif ($source=='GC' || $source=='TS' )
|
}elseif ($source[0] == 'G' || $source[0] == 'T'){
|
||||||
echo '<img src="./img/logo_greffe.png" title="Source Collecte Greffe"/>';
|
print '<img src="./img/logo_greffe.png" title="Source Collecte Greffe"/>';
|
||||||
elseif ($source=='PC')
|
}elseif ($source[0] == 'P'){
|
||||||
echo '<img src="./img/logo_inpi.png" title="Source Collecte RNCS"/>';
|
print '<img src="./img/logo_inpi.png" title="Source Collecte RNCS"/>';
|
||||||
else {
|
}else{
|
||||||
echo '<img src="./img/logo_jal.png" title="Source Collecte JAL';
|
print '<img src="./img/logo_jal.png" title="Source Collecte JAL';
|
||||||
if ($idSource>0) echo " $idSource";
|
if ($idSource>0) print ' $idSource';
|
||||||
echo '"/>';
|
print '"/>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user