Bilan confidentiel : Design

This commit is contained in:
Michael RICOIS 2017-03-09 12:32:52 +01:00
parent 1fd1e78603
commit c12ac41b8a
2 changed files with 10 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -52,9 +52,16 @@
</div>
<?php if ($this->msg) {?>
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<div class="paragraph">
<div style="padding:0.7em;" class="ui-state-highlight ui-corner-all">
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
<?=$this->msg?>
</p>
</div>
</div>
<?php } else {?>
<?php