ne pass visualiser un bilan confidentiel
This commit is contained in:
parent
9eec98395b
commit
3510df43e2
@ -92,9 +92,14 @@ switch ($type) {
|
|||||||
$date = new Zend_Date($element->dateExercicePre, 'yyyyMMdd');
|
$date = new Zend_Date($element->dateExercicePre, 'yyyyMMdd');
|
||||||
echo $date->toString('dd/MM/yyyy');
|
echo $date->toString('dd/MM/yyyy');
|
||||||
} ?> - <?php if ($element->dureeExercicePre > 0) {?><?=$element->dureeExercicePre?> Mois<?php } ?></td>
|
} ?> - <?php if ($element->dureeExercicePre > 0) {?><?=$element->dureeExercicePre?> Mois<?php } ?></td>
|
||||||
<td><a href="<?=$this->url(array('controller'=>'finance','action'=>'liasse',
|
<td><?php if (0 < $element->confidentiel) : ?>
|
||||||
'siret'=>$this->siret,'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
Confidentiel
|
||||||
Visualiser</a>
|
<?php else :?>
|
||||||
|
<a href="<?=$this->url(array('controller'=>'finance', 'action'=>'liasse',
|
||||||
|
'siret'=>$this->siret, 'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||||
|
Visualiser
|
||||||
|
</a>
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php break;?>
|
<?php break;?>
|
||||||
@ -150,9 +155,13 @@ switch ($type) {
|
|||||||
?>
|
?>
|
||||||
- <?php if ($element->dureeExercicePre > 0) {?><?=$element->dureeExercicePre?> Mois<?php } ?>
|
- <?php if ($element->dureeExercicePre > 0) {?><?=$element->dureeExercicePre?> Mois<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<td><a href="<?=$this->url(array('controller'=>'finance', 'action'=>'liasse', 'siret'=>$this->siret,
|
<td><?php if (0 < $element->confidentiel) : ?>
|
||||||
'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
Confidentiel
|
||||||
Visualiser</a>
|
<?php else :?>
|
||||||
|
<a href="<?=$this->url(array('controller'=>'finance', 'action'=>'liasse', 'siret'=>$this->siret,
|
||||||
|
'id'=>$this->id, 'date'=> $type.$element->dateExercice), 'default', true)?>">
|
||||||
|
Visualiser</a>
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
Loading…
Reference in New Issue
Block a user