2011-04-06 15:35:10 +00:00
|
|
|
<table id="TableContentInformation" width="100%">
|
|
|
|
<?php
|
|
|
|
$i = 0;
|
|
|
|
foreach($CreditRecommendation as $champ => $valeur)
|
|
|
|
{
|
|
|
|
echo '<tr>';
|
|
|
|
if ($champ == 'Description')
|
|
|
|
echo '<td align="center" colspan="3">' . $valeur->_ .'</td>';
|
|
|
|
echo '</tr>';
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach($CreditRecommendation as $champ => $valeur)
|
|
|
|
{
|
|
|
|
echo '<tr>';
|
|
|
|
if ($champ == 'AmountAdvised')
|
|
|
|
{
|
|
|
|
echo '<td colspan="2"><b>'.SelectTrueLabel($this->labelConfig['Section_rapportCreditRecommendation'], $champ).'</b></td>';
|
|
|
|
echo '<td align="right">' . $valeur->_ .'</td>';
|
|
|
|
}
|
|
|
|
echo '</tr>';
|
|
|
|
if (is_object($valeur))
|
2011-03-30 14:04:17 +00:00
|
|
|
{
|
2011-04-06 15:35:10 +00:00
|
|
|
foreach($valeur as $chmp => $val)
|
2011-03-30 14:04:17 +00:00
|
|
|
{
|
2011-04-06 15:35:10 +00:00
|
|
|
if ($chmp == 'ProviderRiskClass')
|
2011-03-30 14:04:17 +00:00
|
|
|
{
|
2011-04-06 15:35:10 +00:00
|
|
|
echo '<tr>';
|
|
|
|
echo '<td valign="top">';
|
|
|
|
echo '<table width="100%">';
|
|
|
|
echo '<tr>';
|
|
|
|
echo '<td><b>';
|
|
|
|
echo SelectTrueLabel($this->labelConfig['Section_rapportCreditRecommendation'], 'RatingName');
|
|
|
|
echo '</b></td>';
|
|
|
|
echo '<td><b>';
|
|
|
|
echo SelectTrueLabel($this->labelConfig['Section_rapportCreditRecommendation'], 'RatingValue');
|
|
|
|
echo '</b></td>';
|
|
|
|
echo '<tr>';
|
|
|
|
foreach($val as $ProviderRisks => $info)
|
|
|
|
{
|
|
|
|
$i++;
|
2011-03-31 15:25:21 +00:00
|
|
|
echo '<tr>';
|
2011-04-06 15:35:10 +00:00
|
|
|
echo '<td class="GiantTooltip" title="'.$info->Description->_.'">'.$info->RatingName->_. '</td>';
|
|
|
|
echo '<td>'.$info->RatingValue.'</td>';
|
2011-03-31 15:25:21 +00:00
|
|
|
echo '</tr>';
|
2011-04-06 15:35:10 +00:00
|
|
|
}
|
|
|
|
echo '</table>';
|
|
|
|
echo '</td>';
|
|
|
|
} else if ($chmp == 'CommonRiskClass')
|
|
|
|
{
|
|
|
|
echo '<td colspan="'.$i.'" valign="top">';
|
|
|
|
echo '<table width="100%">';
|
|
|
|
echo '<tr>';
|
|
|
|
echo '<td><b>';
|
|
|
|
echo SelectTrueLabel($this->labelConfig['Section_rapportCreditRecommendation'], 'RatingName');
|
|
|
|
echo '</b></td>';
|
|
|
|
echo '<td><b>';
|
|
|
|
echo SelectTrueLabel($this->labelConfig['Section_rapportCreditRecommendation'], 'RatingValue');
|
|
|
|
echo '</b></td>';
|
|
|
|
echo '</tr>';
|
|
|
|
echo '<tr>';
|
|
|
|
echo '<td class="GiantTooltip" title="'.$val->RatingName->_.'">';
|
|
|
|
echo $val->RatingName->_;
|
|
|
|
echo '</td>';
|
|
|
|
echo '<td>';
|
|
|
|
echo $val->RatingValue;
|
|
|
|
echo '</td>';
|
|
|
|
echo '</tr>';
|
|
|
|
echo '</table>';
|
|
|
|
echo '</td>';
|
|
|
|
echo '</tr>';
|
2011-03-30 14:04:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-04-06 15:35:10 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
</table>
|