Privilege : Correction visuel

This commit is contained in:
Michael RICOIS 2016-01-13 15:52:36 +00:00
parent 5a9a98cbaf
commit 333878abf0
2 changed files with 19 additions and 8 deletions

View File

@ -25,15 +25,14 @@
<table class="identite">
<tr>
<?php $date = new Zend_Date($this->Privilege->Date,'yyyy-MM-dd')?>
<td><i>Inscription du <?=$date->toString('dd/MM/yyyy')?></i></td>
<td><i>Numéro <?=$this->Privilege->Num?></i></td>
<td colspan="2"><i>Inscription n° <?=$this->Privilege->Num?> du <?=$date->toString('dd/MM/yyyy')?>, au <?=$this->Privilege->GreffeLabel?></i></td>
</tr>
<tr>
<td class="StyleInfoLib">Montant de la créance</td>
<td><?=number_format($this->Privilege->Mt, 2, ',', ' ')?> <?=$this->Privilege->Devise?></td>
</tr>
<tr>
<td class="StyleInfoLib" style="vertical-align:top;">Organisme créancier</td>
<td class="StyleInfoLib">Organisme créancier</td>
<td>
<?=$this->Privilege->CreancierNom?><br/>
<?=$this->Privilege->CreancierAdresse1?>&nbsp;
@ -45,10 +44,15 @@
<?=$this->Privilege->CreancierAutres?>
</td>
</tr>
<?php if (!empty($this->Privilege->RadiationDate) && $this->Privilege->RadiationDate!='0000-00-00'
|| !empty($this->Privilege->RadiationPartiel)) { ?>
<tr>
<td class="StyleInfoLib">Date de fraicheur</td>
<?php $date = new Zend_Date($this->Privilege->DateFresh,'yyyy-MM-dd')?>
<td><?=$date->toString('dd/MM/yyyy')?></td>
</tr>
<tr>
<td class="StyleInfoLib" style="vertical-align:top;">Compléments</td>
<?php if (!empty($this->Privilege->RadiationDate) && $this->Privilege->RadiationDate!='0000-00-00'
|| !empty($this->Privilege->RadiationPartiel)) { ?>
<td>
<?php
if (!empty($this->Privilege->RadiationDate) && $this->Privilege->RadiationDate!='0000-00-00') {
@ -69,8 +73,15 @@
<?=$this->Privilege->RadiationPartiel?>
<?php } ?>
</td>
<?php } else { ?>
<td>-</td>
<?php }?>
</tr>
<tr>
<td class="StyleInfoLib">Date Insertion</td>
<?php $date = new Zend_Date($this->Privilege->DateInsert,'yyyy-MM-dd')?>
<td><?=$date->toString('dd/MM/yyyy')?></td>
</tr>
<?php } ?>
</table>
</div>

View File

@ -41,7 +41,7 @@
pour un montant de <?=number_format($c->Mt, 2, ',', ' ')?><br/>
<?php } elseif ($c->Type == '03') {?>
<?=$c->Nb?> privilège<?php if ($c->Nb>1) {?>s<?php }?> de la sécurité sociale et des régimes complémentaires,
pour un montant de<?=number_format($c->Mt, 2, ',', ' ')?><br/>
pour un montant de <?=number_format($c->Mt, 2, ',', ' ')?><br/>
<?php }?>
<?php }?>
<?php }?>
@ -68,7 +68,7 @@
<tr>
<td><?=substr($p->Date,8,2).'/'.substr($p->Date,5,2).'/'.substr($p->Date,0,4)?></td>
<td><?=$p->TypeLabel?></td>
<td>
<td nowrap>
<a href="<?=$this->url(array('controller'=>'pieces', 'action'=>'privilegedetail', 'siret'=>$this->siret,
'viewId'=>$p->Id), 'default', true)?>"><?=number_format($p->Mt, 2, ',', ' ')?></a>
</td>