Suppression du lien "Retour vers la liste des annonces légales" lorsque le SIREN = 0

This commit is contained in:
Michael RICOIS 2012-08-27 07:19:01 +00:00
parent 50478cde74
commit f8b6dc8944

View File

@ -19,9 +19,10 @@
<?=$this->raisonSociale?>
</div>
<div>
<div class="clearfix">
<label>Liste des liasses</label>
<select>
<option>-</option>
<?php foreach ($this->bilans as $item) {?>
<option><?=$item['type']?> - <?=$item['date']?></option>
<?php }?>
@ -30,51 +31,20 @@
</div>
<h2>Postes du bilan</h2>
<div class="paragraph">
<style>
#tabs { font-size:1em; }
#tabs table { width:100%; }
#tabs table td { width:30px; border:1px solid; text-align:center;}
</style>
<div id="tabs">
<ul>
<?php foreach ( $this->entetes as $i => $entete ) {?>
<li><a href="#tabs-<?=$i?>"><?=$entete?></a></li>
<?php }?>
</ul>
<?php foreach ( $this->postes as $i => $item ) {?>
<div id="tabs-<?=$i?>">
<table>
<?php
$max = count($item['cols'][0]);
$nbcols = count($item['cols']);
for ($i=0;$i<$max;$i++) {
?>
<tr>
<?php for ($k=0;$k<$nbcols;$k++) {?>
<td><?=(isset($item['cols'][$k][$i])) ? $item['cols'][$k][$i].'=' : '';?></td>
<td><?=(isset($item['cols'][$k][$i])) ? 0 : '';?></td>
<?php }?>
</tr>
<?php }?>
</table>
</div>
<?php }?>
</div>
<script>
$(function() {
$( "#tabs" ).tabs();
});
</script>
</div>
<div class="paragraph">
<?php if ($this->infos) {?>
<div class="tabbed_area">
<ul class="tabs">
<?php foreach ($this->ancres as $id => $name):?>
<li><a href="#<?=$id?>" title="<?=$name?>" class="tab"><?=$name?></a></li>
<?php endforeach;?>
</ul>
</div>
<div class="content"><?=$this->partial('saisie/liasse/2050.phtml')?></div>
<?php } else {?>
Aucune sélection.
<?php }?>
</div>
</div>