issue #0001585 : Ouverture valorisation

This commit is contained in:
Michael RICOIS 2013-09-30 12:40:33 +00:00
parent 0a4f9df1b2
commit 59ad7d69dd

View File

@ -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 ){