issue #0001249 : intégration du droit liassexls
This commit is contained in:
parent
aaf39aaec8
commit
0986b9684b
@ -913,8 +913,8 @@ class FinanceController extends Zend_Controller_Action
|
||||
$this->view->assign('ancres', $ancres[$dateAndType[1]]);
|
||||
|
||||
//Gestion export de la liasse au format XLS
|
||||
if (in_array($user->getIdClient(), array(1,86))
|
||||
&& in_array($dateAndType[1],array('C', 'N', 'S')) ) {
|
||||
if ($user->checkPerm('liassexls')
|
||||
&& in_array($dateAndType[1],array('C', 'N', 'S')) ) {
|
||||
$this->view->assign('exportxls', true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user