Liens inter-entreprises

-correction de liens (fusionner/deplacer actionnaire et lier document)
-correction de liens (fusionner/deplacer participation, modifier
participation et supprimer participation)
This commit is contained in:
Jean Vladimir TWAHIRWA 2016-09-14 13:41:02 +02:00
parent 3e3504f384
commit c45cf43356

View File

@ -131,7 +131,7 @@
</a>
<?php if ($part == 'actionnaires') {?>
<a class="dialog" title="Fusionner/Déplacer actionnaire" href="<?=$this->url(array(
'module'=>'input', 'controller'=>'index','action'=>'lienchange','mode'=>'moveact',
'module'=>'input', 'controller'=>'lien','action'=>'change','mode'=>'moveact',
'idLien'=>$lien->id,'lienref'=>$lien->idFiche), 'default', true)?>">
<span class="glyphicon glyphicon-transfer" aria-hidden="true"></span>
</a>
@ -147,23 +147,23 @@
</a>
<?php } else {?>
<a class="dialog" title="Fusionner/Déplacer participation" href="<?=$this->url(array(
'module'=>'input', 'controller'=>'index','action'=>'lienchange','mode'=>'movepar',
'module'=>'input', 'controller'=>'lien','action'=>'change','mode'=>'movepar',
'idLien'=>$lien->id,'lienref'=>$lien->idFiche), 'default', true)?>">
<span class="glyphicon glyphicon-transfer" aria-hidden="true"></span>
</a>
<a class="dialog" title="Modifier participation" href="<?=$this->url(array(
'module'=>'input', 'controller'=>'index','action'=>'lien','type'=>'participation',
'module'=>'input', 'controller'=>'lien','action'=>'index','type'=>'participation',
'mode'=>'edit','siren'=>$this->siren,'idLien'=>$lien->id), 'default', true)?>">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
</a>
<a class="dialog" title="Supprimer participation" href="<?=$this->url(array(
'module'=>'input', 'controller'=>'index','action'=>'lien','type'=>'participation',
'module'=>'input', 'controller'=>'lien','action'=>'index','type'=>'participation',
'mode'=>'delete','siren'=>$this->siren,'idLien'=>$lien->id), 'default', true)?>">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</a>
<?php }?>
<a class="dialog" title="Lier un document" href="<?=$this->url(array('module'=>'input',
'controller'=>'index','action'=>'liendoc','idLien'=>$lien->id,'type'=>'Lien'), 'default', true)?>">
'controller'=>'lien','action'=>'doc','idLien'=>$lien->id,'type'=>'Lien'), 'default', true)?>">
<span class="glyphicon glyphicon-file" aria-hidden="true"></span>
</a>
</td>
@ -217,7 +217,7 @@
}?>
<?php if (empty($this->AutrePage) && $this->UserModeEdit && intval($lien->siren)!=0) {?>
<a class="dialog" title="Ajouter une participation" href="<?=$this->url(array(
'module'=>'input', 'controller'=>'index','action'=>'lien','type'=>'participation',
'module'=>'input', 'controller'=>'lien','action'=>'index','type'=>'participation',
'mode'=>'add','siren'=>$this->siren,'lienref'=>$this->lienref,
'createfiche'=>$lien->siren), 'default', true)?>">
<span class="glyphicon glyphicon-plus pull-right" aria-hidden="true">