diff --git a/application/modules/default/controllers/FinanceController.php b/application/modules/default/controllers/FinanceController.php index c4d6ef931..b788ca42c 100644 --- a/application/modules/default/controllers/FinanceController.php +++ b/application/modules/default/controllers/FinanceController.php @@ -850,7 +850,7 @@ class FinanceController extends Zend_Controller_Action $entreprise = new Scores_Session_Entreprise($this->siret, $this->id); $this->view->assign('raisonSociale', $entreprise->getRaisonSociale()); - $this->view->assign('siren', substr($this->siret, 0, 9)); + $this->view->assign('siren', substr($this->siret, 0, 9)); $this->view->assign('siret', $this->siret); $this->view->haveLiasse = ($bilanList->nbReponses > 0) ? true : false; @@ -993,7 +993,7 @@ class FinanceController extends Zend_Controller_Action } //Gestion export de la liasse au format XLS - if ( $user->checkPerm('liassexls') & in_array($type,array('C', 'N', 'S')) ) { + if ( $user->checkPerm('liassexls') && in_array($type,array('C', 'N', 'S')) ) { $this->view->assign('exportxls', true); } } diff --git a/application/modules/default/views/default/scripts/finance/liasse.phtml b/application/modules/default/views/default/scripts/finance/liasse.phtml index fd08e5419..ebbd23b96 100644 --- a/application/modules/default/views/default/scripts/finance/liasse.phtml +++ b/application/modules/default/views/default/scripts/finance/liasse.phtml @@ -52,9 +52,16 @@ msg) {?> -

+ +

+ +
+

msg?>

+
+ +