4d4e57b456
- Modification des rapport - Ajout des flags sur SOAP - Modification visuels
67 lines
2.4 KiB
PHP
67 lines
2.4 KiB
PHP
<!-- Ont selectionne les différents étage du rapport. -->
|
|
<?php $synthese = _simpleElementsOfBalanceSheetType($params->tab, 3, $params->years);?>
|
|
<?php $syntheseTotal = _simpleElementsOfBalanceSheetType($params->tab, 2, $params->years);?>
|
|
<?php $Total = _simpleElementsOfBalanceSheetType($params->tab, 1, $params->years);?>
|
|
|
|
<!-- Ont géres l'affichage du rapport en trois partie. -->
|
|
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportAnnualAccount'], $champ)?></h2>
|
|
<table class="bilansGiant">
|
|
<tr>
|
|
<td id="titre"><?php echo strtoupper($champ); ?></td>
|
|
<?php foreach($params->years as $year) {?>
|
|
<td id="titre"><b><?php echo $year;?></b></td>
|
|
<?php } ?>
|
|
</tr>
|
|
<?php if(isset($synthese)) {?>
|
|
<?php foreach($synthese as $champ => $val) {?>
|
|
<tr>
|
|
<td id="description"><?php echo SelectTrueLabel($this->labelConfig['Section_rapportAnnualAccount'], $champ); ?></td>
|
|
<?php foreach($params->years as $y) {?>
|
|
<?php if ($lastYear != $y) {?>
|
|
<?php foreach($val as $sommes) {?>
|
|
<?php if (!empty($sommes[$y])){?>
|
|
<td id="somme" align="right"><?php echo $sommes[$y] ?></td>
|
|
<?php }}?>
|
|
<?php }?>
|
|
<?php $lastYear = $y;?>
|
|
<?php }?>
|
|
</tr>
|
|
<?php }?>
|
|
<?php }?>
|
|
<?php if(isset($syntheseTotal)) {?>
|
|
<tr><td><br /><br /></td></tr>
|
|
<?php foreach($syntheseTotal as $champ => $val) {?>
|
|
<tr>
|
|
<td id="titre"><?php echo SelectTrueLabel($this->labelConfig['Section_rapportAnnualAccount'], $champ); ?></td>
|
|
<?php foreach($params->years as $y) {?>
|
|
<?php if ($lastYear != $y) {?>
|
|
<?php foreach($val as $sommes) {?>
|
|
<?php if (!empty($sommes[$y])){?>
|
|
<td id="somme" align="right"><?php echo $sommes[$y] ?></td>
|
|
<?php }}?>
|
|
<?php }?>
|
|
<?php $lastYear = $y;?>
|
|
<?php }?>
|
|
</tr>
|
|
<?php }?>
|
|
<?php }?>
|
|
<?php if(isset($Total)) {?>
|
|
<tr><br /><br /></tr>
|
|
<?php foreach($Total as $champ => $val) {?>
|
|
<tr>
|
|
<td id="titre"><?php echo SelectTrueLabel($this->labelConfig['Section_rapportAnnualAccount'], $champ); ?></td>
|
|
<?php foreach($params->years as $y) {?>
|
|
<?php if ($lastYear != $y) {?>
|
|
<?php foreach($val as $sommes) {?>
|
|
<?php if (!empty($sommes[$y])){?>
|
|
<td id="somme" align="right"><?php echo $sommes[$y] ?></td>
|
|
<?php }}?>
|
|
<?php }?>
|
|
<?php $lastYear = $y;?>
|
|
<?php }?>
|
|
</tr>
|
|
<?php }?>
|
|
<?php }?>
|
|
</table>
|
|
|