issue #0001585 : Ouverture valorisation
This commit is contained in:
parent
0a4f9df1b2
commit
59ad7d69dd
@ -331,6 +331,7 @@ class Menu
|
||||
'label' => "Valorisation",
|
||||
'controller' => 'evaluation',
|
||||
'action' => 'valorisation',
|
||||
'permission' => array('VALORISATION'),
|
||||
),
|
||||
array(
|
||||
'label' => "Scoring Credit Safe",
|
||||
@ -837,13 +838,6 @@ 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