75 lines
1.9 KiB
PHTML
75 lines
1.9 KiB
PHTML
<div id="center">
|
|
<?php if ($this->detail) { ?>
|
|
<h1>Détails des inscriptions d'endettement</h1>
|
|
<?php } else { ?>
|
|
<h1>Synthèse des inscriptions d'endettement</h1>
|
|
<?php } ?>
|
|
<div class="paragraph">
|
|
<table class="identite">
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">
|
|
Numéro identifiant Siren
|
|
</td>
|
|
<td width="350" class="StyleInfoData">
|
|
<?=$this->SirenTexte($this->siren)?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">Raison Sociale</td>
|
|
<td width="350" class="StyleInfoData"><?=$this->raisonSociale?></td>
|
|
</tr>
|
|
|
|
<?php if (!empty($this->numDebiteur)) { ?>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">Numéro de débiteur</td>
|
|
<td width="350" class="StyleInfoData"><?=$this->numDebiteur?></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td width="200" class="StyleInfoLib">Greffe</td>
|
|
<td width="350" class="StyleInfoData"><?=$this->greffeLib?></td>
|
|
</tr>
|
|
<?php } else { ?>
|
|
<tr>
|
|
<td width="30"> </td>
|
|
<td colspan="2" class="StyleInfoLib">
|
|
Cette entreprise n'est pas en suivi privilèges.
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
//@todo : Affichage surveillance privileges
|
|
?>
|
|
<?php }?>
|
|
</table>
|
|
<?php if ($this->detail) { ?>
|
|
<a href="<?=$this->url(array(
|
|
'controller' => 'pieces',
|
|
'action' => 'privileges',
|
|
'siret' => $this->siret,
|
|
))?>">Synthese des inscriptions</a><br/>
|
|
<?php } ?>
|
|
</div>
|
|
|
|
<?php
|
|
if (count($this->privileges)==0) {
|
|
?>
|
|
<div class="paragraph">
|
|
<?=$this->action('infos','surveillance', null, array('siret' => $this->siret, 'source'=>'privileges'))?>
|
|
</div>
|
|
<?php
|
|
} elseif ($this->detail) {
|
|
echo $this->partial('pieces/privileges-details.phtml', array(
|
|
'type' => $this->type,
|
|
'privileges' => $this->privileges,
|
|
));
|
|
} else {
|
|
echo $this->partial('pieces/privileges-cumul.phtml', array(
|
|
'type' => $this->type,
|
|
'priv' => $this->privileges,
|
|
));
|
|
}
|
|
?>
|
|
</div>
|