Fix: Correction affichage menu eldy
This commit is contained in:
parent
276cacca80
commit
2c0755e1a1
@ -178,7 +178,7 @@ class MenuLeft {
|
|||||||
if ($conf->societe->enabled)
|
if ($conf->societe->enabled)
|
||||||
{
|
{
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
$newmenu->add(DOL_URL_ROOT."/societe.php", $langs->trans("ThirdParty"), 1, $user->rights->societe->lire);
|
$newmenu->add(DOL_URL_ROOT."/societe.php", $langs->trans("ThirdParty"), 0, $user->rights->societe->lire);
|
||||||
|
|
||||||
if ($user->rights->societe->creer)
|
if ($user->rights->societe->creer)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -182,7 +182,7 @@ class MenuLeft {
|
|||||||
if ($conf->societe->enabled)
|
if ($conf->societe->enabled)
|
||||||
{
|
{
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
$newmenu->add(DOL_URL_ROOT."/societe.php", $langs->trans("ThirdParty"), 1, $user->rights->societe->lire);
|
$newmenu->add(DOL_URL_ROOT."/societe.php", $langs->trans("ThirdParty"), 0, $user->rights->societe->lire);
|
||||||
|
|
||||||
if ($user->rights->societe->creer)
|
if ($user->rights->societe->creer)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user