67 lines
2.5 KiB
PHTML
Raw Normal View History

2011-04-19 15:59:50 +00:00
<!-- En cours de dev ne pas modifier. -->
2011-04-21 15:04:27 +00:00
<?php $nb = 0; $type = 'N'?>
<pre>
2011-04-19 15:59:50 +00:00
2011-04-21 15:04:27 +00:00
</pre>
2011-04-19 15:59:50 +00:00
<div id="center">
2011-04-21 15:04:27 +00:00
<h1>Synthese</h1>
<table>
<tr>
<td width="30">&nbsp;</td>
<td class="StyleInfoLib" width="200">Numéro identifiant Siren</td>
<td class="StyleInfoData" width="330"><?php echo number_format(substr($this->siret, 0, 9), 0, '', ' ');?></td>
</tr>
<tr>
<td width="30">&nbsp;</td>
<td class="StyleInfoLib" width="200">Raison Sociale</td>
<td class="StyleInfoData" width="330"><?php echo $this->results->Nom;?></td>
</tr>
</table>
<table id="synthese" style="border:1px solid black" cellspacing="0" cellpadding="0">
<tr>
<?php $i = 0;?>
<td valign="bottom">
<table width="100%" id="synthese-in-table">
<?php foreach($this->synthese[key($this->synthese)]['N']['RatiosEntrep'] as $item):$nb++;?>
<tr>
<td class="head"><?php echo $item->label; ?></td>
</tr>
<?php endforeach;?>
</table>
</td>
<?php foreach ($this->synthese as $champDate => $date):?>
<td align="left">
<table width="100%" id="synthese-in-table">
<tr>
<th style="font-size:11px" class="StyleInfoLib"><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $champDate);?><br /><?php echo $date['duree'];?> Mois</th>
<?php if($i >= 1):?>
<th class="StyleInfoLib">Evolution</th>
<?php endif;?>
</tr>
<?php if(isset($date[$type])):?>
<?php foreach($date[$type]['RatiosEntrep'] as $item):?>
<tr>
<td class="StyleInfoData"><?php echo $item->val; ?></td>
<?php if($i >= 1):?>
<td class="StyleInfoData"><?php echo $item->evol; ?></td>
<?php endif;?>
</tr>
<?php endforeach;?>
<?php endif;?>
</table>
</td>
<?php $i++;?>
<?php endforeach;?>
<td valign="bottom">
<table>
<?php while ($nb >= 0):?>
<tr>
<td><img title="" src="/themes/default/images/finance/char_bar.png" /></td>
</tr>
<?php $nb--;?>
<?php endwhile;?>
</table>
</td>
</tr>
</table>
2011-04-19 15:59:50 +00:00
</div>