150 lines
4.8 KiB
PHTML
Raw Normal View History

<div id="center">
<h1>Informations Groupe</h1>
2012-06-08 12:57:34 +00:00
<?php if ($this->result->grpSiren=='') {?>
<div class="paragraph">Aucune information disponible.</div>
<?php } elseif (is_string($result)) { ?>
<div class="paragraph"><?=$result?></div>
<?php } else {?>
<style>
table.secteurs { width:100%; border-collapse:collapse; }
table.secteurs th { border:1px solid; padding:5px; font-weight:bold;}
table.secteurs td { border:1px solid; padding:5px; }
</style>
<h2>Groupe <?=$this->result->grpNom?></h2>
<div class="paragraph">
<table>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib" style="font-weight:bold;">Siren</td>
<td width="350" class="StyleInfoData" style="font-weight:bold;"><?=$this->result->grpSiren?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">TVA</td>
<td width="350" class="StyleInfoData"><?=substr($this->result->grpTva,0,2).' '.
substr($this->result->grpTva,2,2).' '.
2012-06-08 12:57:34 +00:00
substr($this->result->grpTva,-9)?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">RCS <?=preg_replace('/(^TC |^TI |^TGIcc |^TMX )/i','',$this->result->grpTribunal)?></td>
<td width="350" class="StyleInfoData"><?=$this->result->grpNumRC?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">ISIN</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpIsin?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300"></td>
<td width="350">&nbsp;</td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Nom du groupe</td>
<td width="350" class="StyleInfoData" style="font-weight:bold;"><?=$this->result->grpNom?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Sigle</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpSigle?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Adresse</td>
<td width="350" class="StyleInfoData">
<?=$this->result->grpAdrNum . ' ' . $this->result->grpAdrBtq . ' ' . $this->result->grpAdrTypeVoie ?>
<?=$this->result->grpadrLibVoie?><br/>
<?=$this->result->grpAdrComp ?><br/>
2012-06-08 12:57:34 +00:00
<?=$this->result->grpAdrCP . ' ' . $this->result->grpAdrVille;?>
</td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Code Commune</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpAdrDep . $this->result->grpAdrCom?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300"></td>
<td width="350">&nbsp;</td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Tél.</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpTel?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Fax</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpFax?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Site Web</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpWeb?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300"></td>
<td width="350">&nbsp;</td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Année de création</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpAnneCreation?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Grand Groupe Français</td>
<td width="350" class="StyleInfoData"><?=($this->result->grpGrandGroupeFr==1) ? 'Oui' : 'Non';?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Nombre d'entreprises Française du groupe</td>
<td width="350" class="StyleInfoData"><?=$this->result->grpNbEntrep?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">Effectif salarié du groupe en France</td>
<td width="350" class="StyleInfoData"><?=number_format($this->result->grpEffectif, 0, ',', ' ')?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300"></td>
<td width="350">&nbsp;</td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">CA France</td>
<td width="350" class="StyleInfoData"><?=number_format($this->result->grpCA, 0, ',', ' ')?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300" class="StyleInfoLib">CA Export</td>
<td width="350" class="StyleInfoData"><?=number_format($this->result->grpCAExport, 0, ',', ' ')?></td>
</tr>
<tr>
2012-06-08 12:57:34 +00:00
<td width="300"></td>
<td width="350">&nbsp;</td>
</tr>
<tr>
<td width="350" colspan="2" class="StyleInfoLib">
<a id="groupesarbo" title="Arborescence du groupe" href="<?=$this->url(array(
'controller'=>'identite','action'=>'groupesarbo', 'siret'=>$this->siren), null, true)
?>">Organigramme du groupe</a></td>
</tr>
</table>
</div>
<h2>Secteurs</h2>
<div class="paragraph">
<table class="secteurs">
<tr>
<th></th>
<th width="150">Secteurs</th>
<th colspan="2">Nb Entrep.</th>
<th colspan="2">CA</th>
<th colspan="2">Effectif</th>
</tr>
<?php foreach ($this->result->secteur->item as $item) {?>
<tr>
<td style="font-weight:bold;"><?=$item->code?></td>
<td><?=$item->lib?></td>
<td align="right"><?=number_format($item->entrepNb, 0, ',', ' ')?></td>
<td align="right"><?=$item->entrepTx?>%</td>
<td align="right"><?=number_format($item->caNb, 0, ',', ' ')?></td>
<td align="right"><?=$item->caTx?>%</td>
<td align="right"><?=number_format($item->effNb, 0, ',', ' ')?></td>
<td align="right"><?=$item->effTx?>%</td>
</tr>
<?php }?>
</table>
</div>
<?php }?>
2012-06-08 12:57:34 +00:00
<?=$this->render('cgu.phtml', $this->cgu)?>
</div>