2011-04-06 13:13:14 +00:00
|
|
|
<h2><?php echo SelectTrueLabel($this->labelConfig['Section_rapportAnnualAccount'], 'Associated')?></h2>
|
2011-04-08 15:40:51 +00:00
|
|
|
<?php
|
|
|
|
foreach($Associated as $valeur) {
|
|
|
|
if (isset($valeur->IsMajorityStake))
|
|
|
|
$tableau['IsMajorityStake'][] = $valeur;
|
|
|
|
else
|
|
|
|
$tableau['NotIsMajorityStake'][] = $valeur;
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
<?php foreach($tableau as $champ => $type) {?>
|
2011-04-13 12:48:49 +00:00
|
|
|
<table class="associatedGiant">
|
|
|
|
<tr>
|
|
|
|
<td style="background-color:silver;font-weight:800" colspan="5" align="center">
|
|
|
|
<?php echo SelectTrueLabel($this->labelConfig['Section_rapportAssociated'], $champ)?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php foreach($type as $valeur) {?>
|
|
|
|
<?php $dateOfPeriod = _setDateWithGiant($valeur->Period->StartDate->format, $valeur->Period->StartDate->_);?>
|
|
|
|
<?php if(isset($valeur->Company)) {?>
|
|
|
|
<?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;
|
|
|
|
?>
|
|
|
|
<?php }?>
|
|
|
|
<?php if(isset($valeur->Person)) {?>
|
|
|
|
<?php $adress =
|
|
|
|
'<b>'.SelectTrueLabel($this->labelConfig['Section_rapportAssociated'], 'Adresse').'</b><br />'.
|
|
|
|
$valeur->Person->PersonalAddress->HouseNumber . ' '.
|
|
|
|
$valeur->Person->PersonalAddress->Street. ' <br />'.
|
|
|
|
$valeur->Person->PersonalAddress->PostCode. ' '.
|
|
|
|
$valeur->Person->PersonalAddress->City;
|
|
|
|
?>
|
|
|
|
<?php }?>
|
|
|
|
<tr>
|
|
|
|
<td><b><?php echo (isset($valeur->Period->StartDate))?$dateOfPeriod[2].'-'.$dateOfPeriod[1].'-'.$dateOfPeriod[0]:false;?></b></td>
|
|
|
|
<?php if(isset($valeur->Company)) {?>
|
|
|
|
<?php foreach($valeur->Company->CompanyName as $name) {?>
|
|
|
|
<td width="45%"><a target="_blank" href="/?page=GiantIdentiteSociete&pays=<?php echo $_GET['pays'];?>&company=<?php echo $valeur->Company->CompanyId;?>"><?php echo $name->_;?></a></td>
|
|
|
|
<?php }?>
|
|
|
|
<?php }?>
|
|
|
|
<?php if(isset($valeur->Person)) {?>
|
|
|
|
<td width="45%"><a target="_blank" href="/?page=GiantIdentiteSociete&pays=<?php echo $_GET['pays'];?>&company=<?php echo $valeur->Person->FirstName . ' '.$valeur->Person->LastName;?>"><?php echo $valeur->Person->FirstName . ' '.$valeur->Person->LastName;?></a></td>
|
|
|
|
<?php }?>
|
|
|
|
<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>
|
2011-04-08 15:40:51 +00:00
|
|
|
<?php } ?>
|