Merge change from 2.4

This commit is contained in:
Michael RICOIS 2013-03-25 11:14:15 +00:00
parent c8acfcdf6f
commit ee19892ff8

View File

@ -583,23 +583,6 @@ class IdentiteController extends Zend_Controller_Action
$user = new Scores_Utilisateur();
$this->view->assign('edition', $user->checkModeEdition());
if ( $user->checkPerm('ACTES') ) {
if ( $session->getFormeJuridique()>=3100 && $session->getFormeJuridique()<=3199
|| $session->getFormeJuridique()>=4000 && $session->getFormeJuridique()<=4999
|| $session->getFormeJuridique()>=5000 && $session->getFormeJuridique()<=5999
|| $session->getFormeJuridique()>=6000 && $session->getFormeJuridique()<=6999 ) {
$this->view->assign('lienStatuts', $this->view->url(array(
'controller' => 'pieces',
'action' => 'actes',
'siret' => $siren ), null, true) );
$this->view->assign('lienBilans', $this->view->url(array(
'controller' => 'pieces',
'action' => 'bilans',
'siret' => $siren ), null, true) );
}
}
$ws = new WsScores();