Lien pour la saisie
This commit is contained in:
parent
733dc59234
commit
b9c7f81757
@ -98,6 +98,15 @@ class Legal_DirigeantController extends Zend_Controller_Action
|
||||
{
|
||||
$siren = substr($this->siret, 0, 9);
|
||||
|
||||
// Lien edition
|
||||
$this->view->InputLinks = array(array(
|
||||
'title' => 'Ajouter un dirigeant',
|
||||
'label' => '<span class="glyphicon glyphicon-plus"></span> Ajouter un dirigeant',
|
||||
'href' => $this->view->url(array('module'=>'input', 'controller'=>'dirigeant',
|
||||
'action'=>'opcontrol','mode'=>'add','siret'=>$this->siret), 'default', true),
|
||||
'class' => 'dialog',
|
||||
));
|
||||
|
||||
$this->view->headTitle()->prepend('Liste des dirigeants opérationnels');
|
||||
$this->view->headTitle()->prepend('Siret '.$this->siret);
|
||||
|
||||
|
@ -813,6 +813,27 @@ class Legal_FinanceController extends Zend_Controller_Action
|
||||
public function liasselistAction()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
// Lien edition
|
||||
$this->view->InputLinks = array(
|
||||
array(
|
||||
'title' => 'Edition Fiche',
|
||||
'label' => '<span class="glyphicon glyphicon-pencil"></span> Normal (2050)',
|
||||
'href' => $this->view->url(array('module'=>'input', 'controller'=>'liasse',
|
||||
'action'=>'index', 'siret'=>$this->siret, 'selection'=>'NEW:N'), 'default', true),
|
||||
),
|
||||
array(
|
||||
'title' => 'Edition Fiche',
|
||||
'label' => '<span class="glyphicon glyphicon-pencil"></span> Consolidé (2050)',
|
||||
'href' => $this->view->url(array('module'=>'input', 'controller'=>'liasse',
|
||||
'action'=>'index', 'siret'=>$this->siret, 'selection'=>'NEW:C'), 'default', true),
|
||||
),
|
||||
array(
|
||||
'title' => 'Edition Fiche',
|
||||
'label' => '<span class="glyphicon glyphicon-pencil"></span> Simplifié (2033)',
|
||||
'href' => $this->view->url(array('module'=>'input', 'controller'=>'liasse',
|
||||
'action'=>'index', 'siret'=>$this->siret, 'selection'=>'NEW:S'), 'default', true),
|
||||
),
|
||||
);
|
||||
|
||||
$this->view->headTitle()->prepend("Liasse fiscale");
|
||||
$this->view->headTitle()->prepend("Siret ".$this->siret);
|
||||
@ -1011,11 +1032,8 @@ class Legal_FinanceController extends Zend_Controller_Action
|
||||
|
||||
$user = new Scores_Utilisateur();
|
||||
if ($user->checkModeEdition()) {
|
||||
$this->view->assign('edition', $this->view->url(array(
|
||||
'controller'=>'saisie',
|
||||
'action'=>'bourse',
|
||||
'siren' => $siren
|
||||
), 'default', true));
|
||||
$this->view->assign('edition', $this->view->url(array('module'=>'input',
|
||||
'controller'=>'index', 'action'=>'bourse', 'siren' => $siren), 'default', true));
|
||||
}
|
||||
|
||||
$this->view->assign('id', $this->id);
|
||||
|
@ -70,6 +70,7 @@ class Legal_IdentiteController extends Zend_Controller_Action
|
||||
public function ficheAction()
|
||||
{
|
||||
$user = new Scores_Utilisateur();
|
||||
$this->view->InputLinks = array();
|
||||
|
||||
$autrePage = $this->getRequest()->getParam('apage');
|
||||
|
||||
@ -104,6 +105,14 @@ class Legal_IdentiteController extends Zend_Controller_Action
|
||||
$session = new Scores_Session_Entreprise($this->siret, $this->id, true);
|
||||
$session->setInfoEntrep($infos);
|
||||
|
||||
// Lien edition
|
||||
$this->view->InputLinks[] = array(
|
||||
'title' => 'Edition Fiche',
|
||||
'label' => '<span class="glyphicon glyphicon-pencil"></span> Editer la fiche',
|
||||
'href' => $this->view->url(array('module'=>'input', 'controller'=>'index',
|
||||
'action'=>'index', 'siret'=>$this->siret), 'default', true),
|
||||
);
|
||||
|
||||
//Date de dernière mise à jour
|
||||
$tabDate = array(
|
||||
'DateMajINSEE' => "Insee : ",
|
||||
|
Loading…
Reference in New Issue
Block a user