6302def1c6
Création de la géolocalisation de google sur les fiche identité
85 lines
2.6 KiB
PHTML
85 lines
2.6 KiB
PHTML
<?php $i = 0;?>
|
|
<div id="center">
|
|
<h1>SYNTHÈSE</h1>
|
|
<div class="paragraph">
|
|
<table class="identite">
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">
|
|
Numéro identifiant Siren
|
|
</td>
|
|
<td width="350" class="StyleInfoData">
|
|
<?php echo $this->SirenTexte($this->siren);?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
|
<td width="350" class="StyleInfoData"><?php echo $this->raisonSociale;?></td>
|
|
</tr>
|
|
<?php if(!empty($this->synthese)):?>
|
|
<tr>
|
|
|
|
<td width="30"></td>
|
|
<td class="StyleInfoLib" width="200">Type de Synthése</td>
|
|
<td class="StyleInfoData" width="340">
|
|
<form method="post" action="<?php echo $this->url(array(
|
|
'controller' => 'finance',
|
|
'action' => 'synthese')); ?>">
|
|
<input <?php echo (isset($_POST['typeBilan']))?(($_POST['typeBilan'] == ('N'))? 'checked="true"': false): 'checked="true"';?> type="radio" name="typeBilan" value="N" /> Réel normal ou Simplifié
|
|
<input <?php echo (isset($_POST['typeBilan']))?(($_POST['typeBilan'] == ('C'))? 'checked="true"': false): false;?> type="radio" name="typeBilan" value="C" /> Consolidé
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table id="synthese">
|
|
<thead>
|
|
<tr>
|
|
<?php foreach($this->synthese[key($this->synthese)]['item'] as $date => $val):?>
|
|
<?php if($i == 2 or $i == 1):?>
|
|
<th>Evolution</th>
|
|
<?php elseif($i == 0):?>
|
|
<th></th>
|
|
<?php endif;?>
|
|
<th><?php echo $this->dateFunction->dateT('Ymd', 'd/m/Y', $date);?></th>
|
|
<?php $i++;?>
|
|
<?php endforeach;?>
|
|
<th>Evolution</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php $i = 0;?>
|
|
<?php foreach ($this->synthese as $id => $element):?>
|
|
<tr>
|
|
<td class="head"><?php echo $element['name'];?></td>
|
|
<?php foreach ($element['item'] as $valeur):?>
|
|
<td class="right"><?php echo $valeur['ValEntrep'] .' '. $element['unite'];?></td>
|
|
<td class="right"><?php echo $valeur['ValEntrepEvol'];?> %</td>
|
|
<?php endforeach;?>
|
|
<td>
|
|
<a name="<?php echo $this->nameForGraphique[$id]['name'];?>" class="rTip"
|
|
rel="<?php echo $this->url(array(
|
|
'controller' => 'finance',
|
|
'action' => 'printgraph',
|
|
'idGraph' => $this->typeBilan.'-'.$id.'.png'))?>" href="">
|
|
<img src="/themes/default/images/finance/char_bar.png" />
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<?php $i++;?>
|
|
<?php endforeach;?>
|
|
</table>
|
|
<img src='/fichier/imgcache/test.png' />
|
|
<?php else:?>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td class="StyleInfoLib" width="200">Bilan de banque/assurance non gérés</td>
|
|
<td class="StyleInfoData" width="350"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<?php endif;?>
|
|
</div>
|
|
</div>
|