Ne pas afficher le lien de suppression de la surveillance lorsque le login est différent
This commit is contained in:
parent
d4f46b87dd
commit
4b43f882f5
@ -932,7 +932,7 @@ class FinanceController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
/** Partie vue **/
|
||||
$this->view->haveLiasse = ($listBilan->nbReponses > 0)?true:false;
|
||||
$this->view->haveLiasse = ($listBilan->nbReponses > 0) ? true : false;
|
||||
$this->view->assign('raisonSociale', $entreprise->getRaisonSociale());
|
||||
$this->view->assign('siren', substr($this->siret, 0, 9));
|
||||
$this->view->assign('siret', $this->siret);
|
||||
|
@ -23,6 +23,8 @@
|
||||
));
|
||||
?>"><?=$item['InfoNom']?></a></b>
|
||||
</span>
|
||||
|
||||
<?php if ( $this->login == $item['login']) { ?>
|
||||
<span style="position:relative;float:right;right:50px;top:20px;">
|
||||
<a class="supprSurveillance" href="<?=$this->url(array(
|
||||
'controller' => 'surveillances',
|
||||
@ -39,6 +41,7 @@ title="Supprimer la surveillance" style="vertical-align:middle;">
|
||||
Supprimer la surveillance <?=$item['source']?>
|
||||
</a>
|
||||
</span>
|
||||
<?php }?>
|
||||
<br/>
|
||||
<?=$item['InfoNomDetail']?>
|
||||
<b>RCS <?=$item['InfoSiret']?></b>
|
||||
|
Loading…
x
Reference in New Issue
Block a user