Ajout des points d'entrée pour la page privileges, issue #0000260
This commit is contained in:
parent
36fdf3d50b
commit
6287ae4206
@ -21,7 +21,7 @@ function activeMenu($page){
|
||||
$activeMenu[] = array('indiscore', 'scorescf', 'enquetec', 'rsynthese',
|
||||
'rsynthesemin');
|
||||
//Pieces officielles
|
||||
$activeMenu[] = array('pieces', 'kbis', 'greffes');
|
||||
$activeMenu[] = array('pieces', 'kbis', 'greffes', 'privileges');
|
||||
//Options
|
||||
$activeMenu[] = array('moncompte', 'surveillance', 'portefeuille',
|
||||
'greffescmd', 'international_commandes',
|
||||
@ -235,6 +235,14 @@ function defineMenu(){
|
||||
'href' => 'menu_href_greffesbilans');
|
||||
$children[] = array('data' => 'Actes & Statuts',
|
||||
'href' => 'menu_href_greffesactes');
|
||||
$children[] = array('data' => 'Suivi Privilèges',
|
||||
'href' => 'menu_href_privileges',
|
||||
'perm' =>
|
||||
array(
|
||||
'list' => array( 'survpriv' ),
|
||||
'hidden' => true
|
||||
)
|
||||
);
|
||||
$menu[] = array( 'data'=>'PIECES OFFICIELLES', 'children'=>$children);
|
||||
|
||||
// Options
|
||||
|
@ -541,4 +541,15 @@ function menu_href_procol()
|
||||
$href = './?page=identite_procol&idEntreprise='.$idEntreprise.'&siret='.$siret;
|
||||
}
|
||||
return $href;
|
||||
}
|
||||
|
||||
function menu_href_privileges(){
|
||||
global $siret, $idEntreprise;
|
||||
if ($siret*1==0 && $idEntreprise*1==0){
|
||||
$href = '#';
|
||||
} else{
|
||||
$href = './?page=privileges&idEntreprise='.$idEntreprise.'&siret='.$siret;
|
||||
}
|
||||
return $href;
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user