extranet/includes/giant/templates/rapport/Associated.tpl.php

18 lines
1.0 KiB
PHP
Raw Normal View History

2011-04-06 13:13:14 +00:00
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportAnnualAccount'], 'Associated')?></h2>
<table class="associatedGiant">
<?php foreach($Associated as $valeur) {?>
<?php $adress =
'<b>'.SelectTrueLabel($this->labelConfig['Section_rapportAssociated'], 'Adresse').'</b><br />'.
$valeur->Company->CompanyAddress->HouseNumber . ' '.
$valeur->Company->CompanyAddress->Street. ' <br />'.
$valeur->Company->CompanyAddress->PostCode. ' '.
$valeur->Company->CompanyAddress->City; ?>
<tr>
<td><b><?php echo $valeur->Period->StartDate->_;?></b></td>
<td width="45%"><a target="_blank" href="/?page=GiantIdentiteSociete&pays=<?php $_GET['pays'];?>&company=<?php $valeur->Company->CompanyId;?>"><?php echo $valeur->Company->CompanyName->_;?></a></td>
<td><?php echo $valeur->RelationShip;?></td>
<td><?php echo round($valeur->Shares->Percentage, 0);?> %</td>
<td class="GiantTooltip" title="<?php echo htmlentities($adress);?>"><?php echo $valeur->Company->CompanyAddress->City;?></td>
</tr>
<?php }?>
</table>