issue #0001372 : Add doc to company witthout siren
This commit is contained in:
parent
e6cc420e7c
commit
c61855ee8f
@ -581,6 +581,7 @@ class IdentiteController extends Zend_Controller_Action
|
||||
$request = $this->getRequest();
|
||||
|
||||
$lienRef = $request->getParam('lienref', null);
|
||||
$this->view->assign('lienref', $lienRef);
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->assign('edition', $user->checkModeEdition());
|
||||
|
@ -66,7 +66,14 @@
|
||||
<td width="30"> </td>
|
||||
<td width="200" class="StyleInfoLib"></td>
|
||||
<td width="350" class="StyleInfoLib">
|
||||
<a class="dialog" title="Lier un document" href="<?=$this->url(array('controller'=>'saisie','action'=>'liendoc','siren'=>$this->siren), null, true)?>">
|
||||
<?php
|
||||
if ($this->siren) {
|
||||
$href = $this->url(array('controller'=>'saisie','action'=>'liendoc','siren'=>$this->siren), null, true);
|
||||
} else {
|
||||
$href = $this->url(array('controller'=>'saisie','action'=>'liendoc','idLien'=>$this->lienref), null, true);
|
||||
}
|
||||
?>
|
||||
<a class="dialog" title="Lier un document" href="<?=$href?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/page_white_put.png" />
|
||||
Lier un document (organigramme du groupe)
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user