2011-09-01 06:50:14 +00:00
|
|
|
<?php if (empty($this->AutrePage)):?>
|
2011-04-19 15:59:50 +00:00
|
|
|
<div id="center">
|
2011-09-01 06:50:14 +00:00
|
|
|
<?php endif;?>
|
|
|
|
|
2011-07-06 06:49:05 +00:00
|
|
|
<?php if (empty($this->AutrePage)){?>
|
2011-06-07 15:01:03 +00:00
|
|
|
<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"> </td>
|
|
|
|
<td width="200" class="StyleInfoLib">
|
|
|
|
Numé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"> </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"> </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>
|
2011-06-07 15:01:03 +00:00
|
|
|
</div>
|
2011-07-06 06:49:05 +00:00
|
|
|
<?php }?>
|
2011-07-05 14:41:20 +00:00
|
|
|
|
2011-07-06 06:49:05 +00:00
|
|
|
<?php if (!isset($this->tabResult)){?>
|
|
|
|
<div class="paragraph">
|
|
|
|
Aucun bilan disponible.
|
|
|
|
</div>
|
|
|
|
<?php } else {?>
|
2011-06-07 15:01:03 +00:00
|
|
|
<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>
|
2011-07-05 14:41:20 +00:00
|
|
|
<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> </th>
|
2011-05-04 14:18:22 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2011-07-05 14:41:20 +00:00
|
|
|
<?php foreach($this->tabRatio as $ratio => $info) { ?>
|
2011-05-04 14:18:22 +00:00
|
|
|
<tr>
|
2011-07-05 14:41:20 +00:00
|
|
|
<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>
|
2011-09-14 16:09:24 +00:00
|
|
|
<?php if ($this->graph): ?>
|
2011-09-12 15:23:05 +00:00
|
|
|
<a href="<?=$this->url(array(
|
2011-07-05 14:41:20 +00:00
|
|
|
'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">
|
2011-09-14 16:09:24 +00:00
|
|
|
<?php endif;?>
|
2011-05-26 15:56:16 +00:00
|
|
|
</a>
|
2012-06-08 12:57:34 +00:00
|
|
|
|
2011-05-04 14:18:22 +00:00
|
|
|
</td>
|
2011-07-05 14:41:20 +00:00
|
|
|
</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>
|
2011-07-05 14:41:20 +00:00
|
|
|
|
|
|
|
<div class="paragraph">
|
2011-09-14 16:09:24 +00:00
|
|
|
<?php if ($this->graph):?>
|
2011-07-05 14:41:20 +00:00
|
|
|
<?=$this->action('synthesegraphcompare', 'finance', null, array('siret'=>$this->siret, 'id'=>$this->id, 'typeBilan'=>$this->typeBilan))?>
|
2011-09-14 15:58:05 +00:00
|
|
|
<?php else:?>
|
|
|
|
<b>Les informations sont insufisantes pour générer le graphique de synthèse.</b>
|
|
|
|
<?php endif;?>
|
2011-07-05 14:41:20 +00:00
|
|
|
</div>
|
|
|
|
|
2011-07-06 06:49:05 +00:00
|
|
|
<?php }?>
|
|
|
|
|
2011-09-01 06:50:14 +00:00
|
|
|
<?php if (empty($this->AutrePage)):?>
|
|
|
|
<?=$this->render('cgu.phtml', $this->cgu)?>
|
|
|
|
</div>
|
|
|
|
<?php endif;?>
|