issue #0001585 : Masquage du menu
This commit is contained in:
parent
421121871c
commit
0dfc8512ef
@ -820,6 +820,13 @@ class Menu
|
||||
break;
|
||||
case 'evaluation':
|
||||
switch($action){
|
||||
case 'valorisation':
|
||||
$user = new Scores_Utilisateur();
|
||||
if ($user->getIdClient()==1) {
|
||||
return true
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case 'indiscore':
|
||||
$siretSiege = substr($this->siret, 0,9);
|
||||
if (!empty($siretSiege) && intval($siretSiege)!=0 ){
|
||||
|
Loading…
Reference in New Issue
Block a user