96 lines
3.8 KiB
PHTML
Raw Normal View History

<div id="center">
<?php if (empty($this->AutrePage)):?>
<h1>ÉLÉMENTS FINANCIERS - BILANS</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">
<?php echo $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"><?php echo $this->raisonSociale;?></td>
</tr>
<?php if($this->typeBilan != 'B' and $this->typeBilan != 'A'):?>
<?php if(!$this->oneElement):?>
<?php if (isset($this->listeBilan)):?>
<tr>
<form method="POST" action="<?php echo $this->url();?>">
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Type de bilan</td>
<td width="350" class="StyleInfoData">
<input <?php echo ($this->typeBilan == 'N')?$this->isChecked:$this->isNotChecked;?> onclick="submit();" type="radio" value="N" name="typeBilan" />Réel, Normal, Simplifié
<input <?php echo ($this->typeBilan == 'C')?$this->isChecked:$this->isNotChecked;?> onclick="submit();" type="radio" value="C" name="typeBilan" />Consolidé
</td>
</form>
</tr>
<?php endif;?>
<?php endif;?>
<?php endif;?>
</table>
</div>
<?php endif; ?>
<div class="paragraph">
<?php if($this->typeBilan != 'B' and $this->typeBilan != 'A'):?>
<?php if (isset($this->listeBilan)):?>
<?php foreach ($this->listeBilan as $bilan):?>
<?php $reference = 'reference'.$bilan; ?>
<?php if(!empty($this->$bilan) and !$this->oneElement):?>
<?php echo $this->partial('finance/bilansPartials/'.$bilan.'.partial.phtml',
array(
'date' => $this->date,
2011-05-27 16:07:48 +00:00
'oneElement' => $this->oneElement,
'duree' => $this->duree,
'dateFunction' => $this->dateFunction,
'siren' => $this->siren,
2011-05-27 16:07:48 +00:00
'siret' => $this->siret,
$bilan => $this->$bilan,
'typeBilan'=> $this->typeBilan,
$reference => $this->$reference,
2011-05-27 16:07:48 +00:00
'idSC' => $this->idSC
));
?><br />
<?php elseif($this->oneElement):?>
<?php echo $this->partial('finance/bilansPartials/'.$this->oneElement.'.partial.phtml',
2011-05-27 16:07:48 +00:00
array(
'date' => $this->date,
'oneElement' => $this->oneElement,
'duree' => $this->duree,
'dateFunction' => $this->dateFunction,
'siren' => $this->siren,
'siret' => $this->siret,
$bilan => $this->oneElement,
'typeBilan'=> $this->typeBilan,
$reference => $this->$reference,
'idSC' => $this->idSC
));?>
<?php else :?>
<?php $banqueAssurance = true;?>
2011-06-03 08:52:45 +00:00
<?php endif;?>
<?php endforeach;?>
<?php else: ?>
<table>
<tr>
<td width="30">&nbsp;</td>
<td colspan="2" class="StyleInfoLib" width="200">Bilan de banque/assurance non gérés</td>
</tr>
</table>
<?php endif;?>
</div>
<?php echo $this->render('cgu.phtml', $this->cgu);?>
<?php endif;?>
</div>