58 lines
1.7 KiB
PHTML
58 lines
1.7 KiB
PHTML
<?php if ($this->type == '03') { ?>
|
|
<h2>Privilèges de la sécurité sociale et des régimes complémentaires</h2>
|
|
<?php }elseif ($this->type == '04') { ?>
|
|
<h2>Privilèges du trésor public</h2>
|
|
<?php } ?>
|
|
<div class="paragraph">
|
|
<?php foreach($this->privileges as $priv) { ?>
|
|
<table style="border:1px solid;width:100%;margin:5px 0;">
|
|
<tr>
|
|
<td style="width:30%;"><i>Inscription du <?=WDate::dateT('Y-m-d', 'd/m/Y',$priv->insDate)?></i></td>
|
|
<td style="width:70%;"><i>Numéro <?=$priv->insNum?></i></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="StyleInfoLib">Montant de la créance</td>
|
|
<td><?=number_format($priv->insMontant, 2, ',', ' ')?> <?=$priv->insDev?></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="StyleInfoLib" style="vertical-align:top;">Organisme créancier</td>
|
|
<td>
|
|
<?=$priv->creNom?><br/>
|
|
<?=$priv->creAdresse1?>
|
|
<?=$priv->creAdresse2?>
|
|
<?=$priv->creAdresse3?>
|
|
<?=$priv->creCP?>
|
|
<?=$priv->creVille?><br/>
|
|
<?=$priv->crePays?>
|
|
<?=$priv->creAutres?>
|
|
</td>
|
|
</tr>
|
|
<?php if (!empty($priv->radDate) && $priv->radDate!='0000-00-00' || !empty($priv->radPartiel)) { ?>
|
|
<tr>
|
|
<td class="StyleInfoLib" style="vertical-align:top;">Compléments</td>
|
|
<td>
|
|
<?php
|
|
if (!empty($priv->radDate) && $priv->radDate!='0000-00-00'){
|
|
echo 'Radié le '.WDate::dateT('Y-m-d', 'd/m/Y',$priv->radDate);
|
|
} elseif (!empty($priv->radPartiel)){
|
|
if ($priv->radMention!='0000-00-00'){
|
|
echo 'Partiellement radié le '.WDate::dateT('Y-m-d', 'd/m/Y',$priv->radMention);
|
|
}
|
|
if (!empty($priv->radPartMt)){
|
|
echo ' pour un montant de '.
|
|
number_format($priv->radPartMt, 2, ',', ' ') .
|
|
' ' . $priv->radDev;
|
|
}
|
|
?>
|
|
<br/>
|
|
<?=$priv->radPartiel?>
|
|
<?php
|
|
}
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<?php } ?>
|
|
</table>
|
|
<?php }?>
|
|
</div>
|