2011-05-02 15:53:31 +00:00
<?php $i = 0 ; ?>
2011-04-19 15:59:50 +00:00
< div id = "center" >
2011-04-29 15:46:59 +00:00
< h1 > SYNTHÈSE< / h1 >
2011-05-04 14:18:22 +00:00
< 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" >
2011-05-06 14:34:12 +00:00
<?php echo $this -> SirenTexte ( $this -> siren ); ?>
2011-05-04 14:18:22 +00:00
< / td >
< / tr >
< tr >
< td width = "30" > < / td >
< td width = "200" class = "StyleInfoLib" > Raison Sociale< / td >
2011-05-06 14:34:12 +00:00
< td width = "350" class = "StyleInfoData" > <?php echo $this -> raisonSociale ; ?> </ td >
2011-05-04 14:18:22 +00:00
< / tr >
2011-05-06 14:34:12 +00:00
<?php if ( ! empty ( $this -> synthese )) : ?>
2011-05-04 14:18:22 +00:00
< 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 >
2011-05-24 16:03:25 +00:00
< td style = "cursor:help" class = "head tootltip" title = " <?php echo $element [ 'commentaires' ]; ?> " > <?php echo $element [ 'name' ]; ?> </ td >
2011-05-04 14:18:22 +00:00
<?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 >
2011-05-24 16:03:25 +00:00
< br / >
< img src = '/fichier/imgcache/graphiqueSynthses.png' / >
2011-05-06 14:34:12 +00:00
<?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 ; ?>
2011-05-04 14:18:22 +00:00
< / div >
2011-04-19 15:59:50 +00:00
< / div >