123 lines
3.7 KiB
PHTML
Raw Normal View History

<?php if (empty($this->AutrePage)):?>
2011-04-19 15:59:50 +00:00
<div id="center">
<?php endif;?>
2011-07-06 06:49:05 +00:00
<?php if (empty($this->AutrePage)){?>
<h1>SYNTHÈSE</h1>
2011-05-04 14:18:22 +00:00
<div class="paragraph">
<table class="identite">
2011-07-06 06:49:05 +00:00
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">
Num&eacute;ro identifiant Siren
</td>
<td width="350" class="StyleInfoData">
2012-02-07 20:19:05 +00:00
<?=$this->SirenTexte($this->siren);?>
2011-07-06 06:49:05 +00:00
</td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Raison Sociale</td>
2012-02-07 20:19:05 +00:00
<td width="350" class="StyleInfoData"><?=$this->raisonSociale;?></td>
2011-07-06 06:49:05 +00:00
</tr>
<?php if (isset($this->tabResult)){?>
<tr>
<td width="30">&nbsp;</td>
<td width="200" class="StyleInfoLib">Type de bilans</td>
<td width="350" class="StyleInfoData">
<?php if ($this->nbBilanC==0){?>
Réel normal ou Simplifié
<?php } elseif ($this->nbBilanN==0){?>
2012-06-08 12:57:34 +00:00
Consolidé
2011-07-06 06:49:05 +00:00
<?php } else {?>
2011-07-06 15:31:24 +00:00
<form>
<select name="typeBilan">
<option value="N"<?=($this->typeBilan=='N')? ' selected' : '';?>>Réel normal ou Simplifié</option>
<option value="C"<?=($this->typeBilan=='C')? ' selected' : '';?>>Consolidé</option>
</select>
</form>
2011-07-06 06:49:05 +00:00
<?php }?>
</td>
</tr>
<?php }?>
2011-05-04 14:18:22 +00:00
</table>
</div>
2011-07-06 06:49:05 +00:00
<?php }?>
2011-07-06 06:49:05 +00:00
<?php if (!isset($this->tabResult)){?>
<div class="paragraph">
Aucun bilan disponible.
</div>
<?php } else {?>
<div class="paragraph">
2011-05-04 14:18:22 +00:00
<table id="synthese">
<thead>
<tr>
2011-09-13 08:33:05 +00:00
<th align="center">
<?php if (count($this->tabRatio)==1){?>
<a href="<?=$this->url(array('controller'=>'finance', 'action'=>'synthese', 'siret'=>$this->siret, 'id'=>$this->id), null, true)?>">
<img src="/themes/default/images/finance/char_bar.png" alt="Retour à la page complète" />
</a>
<?php }?>
</th>
<th class="date"><?=$this->tabResult[0]['dateCloture']?><br/><?=$this->tabResult[0]['duree']?></th>
<th class="date">Evolution</th>
<th class="date"><?=$this->tabResult[1]['dateCloture']?><br/><?=$this->tabResult[1]['duree']?></th>
<th class="date">Evolution</th>
<th class="date"><?=$this->tabResult[2]['dateCloture']?><br/><?=$this->tabResult[2]['duree']?></th>
<th class="date">Evolution</th>
<th>&nbsp;</th>
2011-05-04 14:18:22 +00:00
</tr>
</thead>
<tbody>
<?php foreach($this->tabRatio as $ratio => $info) { ?>
2011-05-04 14:18:22 +00:00
<tr>
<td class="head">
<a class="tooltip" title="<?=$info['comment']?>"><?=$info['titre']?></a>
</td>
<td class="right"><?=$this->tabResult[0]['entrep'][$ratio]?></td>
<td class="right"><?=$this->tabResult[0]['entrepEvol'][$ratio]?></td>
<td class="right"><?=$this->tabResult[1]['entrep'][$ratio]?></td>
<td class="right"><?=$this->tabResult[1]['entrepEvol'][$ratio]?></td>
<td class="right"><?=$this->tabResult[2]['entrep'][$ratio]?></td>
<td class="right"><?=$this->tabResult[2]['entrepEvol'][$ratio]?></td>
2011-05-04 14:18:22 +00:00
<td>
<?php if ($this->graph): ?>
2011-09-12 15:23:05 +00:00
<a href="<?=$this->url(array(
'controller' => 'finance',
'action' => 'synthese',
'siret' => $this->siret,
'id' => $this->id,
'ratio' => $ratio,
))?>">
<img class="sTip" rel="<?=$this->url(array(
'controller' => 'finance',
'action' => 'synthesegraphevol',
'siret' => $this->siret,
'id' => $this->id,
'ratio' => $ratio,
))?>" title="<?=$info['titre']?>" src="/themes/default/images/finance/char_bar.png" alt="Visionner le graphique">
<?php endif;?>
</a>
2012-06-08 12:57:34 +00:00
2011-05-04 14:18:22 +00:00
</td>
</tr>
<?php }?>
2011-05-04 14:18:22 +00:00
</tbody>
2011-06-07 07:58:06 +00:00
</table>
2011-05-04 14:18:22 +00:00
</div>
<div class="paragraph">
<?php if ($this->graph):?>
<?=$this->action('synthesegraphcompare', 'finance', null, array('siret'=>$this->siret, 'id'=>$this->id, 'typeBilan'=>$this->typeBilan))?>
<?php else:?>
<b>Les informations sont insufisantes pour générer le graphique de synthèse.</b>
<?php endif;?>
</div>
2011-07-06 06:49:05 +00:00
<?php }?>
<?php if (empty($this->AutrePage)):?>
<?=$this->render('cgu.phtml', $this->cgu)?>
</div>
<?php endif;?>