2011-04-08 15:40:51 +00:00
|
|
|
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportFinancialSummary'], 'FinancialSummary')?></h2>
|
|
|
|
<?php $FinancialSummary = getArray($FinancialSummary);?>
|
|
|
|
<table width="100%" class="FinancialSummaryGiant">
|
|
|
|
<?php
|
|
|
|
$champFinancialSummary = array(
|
|
|
|
SelectTrueLabel($this->labelConfig, 'Revenue'),
|
|
|
|
SelectTrueLabel($this->labelConfig, 'TotalEquity'),
|
|
|
|
SelectTrueLabel($this->labelConfig, 'ProfitLoss'),
|
|
|
|
SelectTrueLabel($this->labelConfig, 'WorkingCapital'),
|
|
|
|
SelectTrueLabel($this->labelConfig, 'AuthorizedCapital'),
|
|
|
|
SelectTrueLabel($this->labelConfig, 'IssuedCapital'),
|
|
|
|
SelectTrueLabel($this->labelConfig, 'PaidUpCapital'));
|
|
|
|
echo '<tr>';
|
|
|
|
echo '<td id="titre"></td>';
|
|
|
|
foreach($FinancialSummary as $valeur) {
|
|
|
|
echo '<td align="left" id="titre"><b>'.substr($valeur->SummaryDate->_, 0, 4).'</b></td>';
|
|
|
|
}
|
|
|
|
echo '</tr>';
|
|
|
|
foreach ($champFinancialSummary as $champ)
|
|
|
|
{
|
|
|
|
if(isset($valeur->$champ))
|
2011-03-30 14:04:17 +00:00
|
|
|
{
|
2011-03-31 15:25:21 +00:00
|
|
|
echo '<tr>';
|
2011-04-08 15:40:51 +00:00
|
|
|
echo '<td id="titre">' . $champ . '</td>';
|
|
|
|
foreach($FinancialSummary as $valeur)
|
2011-03-31 15:25:21 +00:00
|
|
|
{
|
|
|
|
if (isset($valeur->$champ))
|
|
|
|
{
|
|
|
|
if (is_numeric($print = $valeur->$champ->_))
|
2011-04-08 15:40:51 +00:00
|
|
|
echo '<td align="right">' . number_format(SelectUnitForNumber('K', $print * $valeur->Unit), 0, '', ' ') .' K€ <b>'. $valeur->$champ->currency .'</b></td>';
|
2011-03-31 15:25:21 +00:00
|
|
|
else
|
|
|
|
echo '<td align="right">' . $print . '</td>';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo '</tr>';
|
2011-03-30 14:04:17 +00:00
|
|
|
}
|
2011-04-08 15:40:51 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</table>
|