Damien LASSERRE 510c723c01 Finalisation de quelques details comme les CGU les bug d'erreur
Gestion des cas de non bilans etc...
2011-06-23 09:14:03 +00:00

94 lines
1.8 KiB
PHTML

<style type="text/css">
ul.relation {
list-style-type: none;
}
ul.relation li {
clear: both;
}
.banque {
text-decoration: underline;
width: 35%;
float: left;
margin-bottom: 10px;
}
.adresse {
width: 30%;
float: left;
margin-bottom: 10px;
}
.codeBanque {
width: 10%;
float: left
}
.codeGuichet {
width: 10%;
float: left;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
</style>
<div id="center">
<h1 class="titre">RELATIONS BANCAIRES</h1>
<div class="paragraph">
<table class="identite">
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">
Num&eacute;ro identifiant Siren
</td>
<td width="350" class="StyleInfoData">
<?=$this->SirenTexte($this->siren)?>
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Raison Sociale</td>
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
</tr>
</table>
</div>
<h2>Liste des relations bancaires</h2>
<div class="paragraph">
<?php
if(count($this->banques)>0)
{
?>
<ul class="relation clearfix">
<?php
foreach($this->banques as $relation)
{
?>
<li>
<div class="banque"><?=$relation->libBanque?></div>
<div class="adresse"><?php if($relation->adresse1!='') {?>
<?=$relation->adresse1?><br />
<?php } ?> <?php if($relation->adresse2!='') {?>
<?=$relation->adresse2?><br />
<?php } ?> <?=$relation->cp?> <?=$relation->ville?></div>
<div class="codeBanque"><?php if( $relation->codeBanque*1!=0 ){ echo $relation->codeBanque; } ?></div>
<div class="codeGuichet"><?php if( $relation->codeGuichet*1!=0 ){ echo $relation->codeGuichet; }?></div>
</li>
<?php
}
?>
</ul>
<?php
} else {
?>
<p>Aucune information.</p>
<?php } ?>
</div>
<?php echo $this->render('cgu.phtml', $this->cgu);?>
</div>