From c12ac41b8a35609450d2f4af201559e72b032cb3 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 9 Mar 2017 12:32:52 +0100 Subject: [PATCH] Bilan confidentiel : Design --- .../modules/default/controllers/FinanceController.php | 4 ++-- .../default/views/default/scripts/finance/liasse.phtml | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) 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?>

+
+ +