Disable an old feature not working for everybody.
This commit is contained in:
parent
d370e2ff9f
commit
b137d45be3
@ -499,7 +499,7 @@ class MenuLeft {
|
||||
}
|
||||
|
||||
// Compta simple
|
||||
if ($conf->compta->enabled)
|
||||
if ($conf->compta->enabled && $conf->global->FACTURE_VENTILATION)
|
||||
{
|
||||
$newmenu->add(DOL_URL_ROOT."/compta/ventilation/index.php?leftmenu=ventil",$langs->trans("Dispatch"),0,$user->rights->compta->ventilation->lire);
|
||||
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/ventilation/liste.php",$langs->trans("ToDispatch"),1,$user->rights->compta->ventilation->lire);
|
||||
|
||||
@ -482,7 +482,7 @@ class MenuLeft {
|
||||
|
||||
// Compta simple
|
||||
/*
|
||||
if ($conf->compta->enabled)
|
||||
if ($conf->compta->enabled && $conf->global->FACTURE_VENTILATION))
|
||||
{
|
||||
$newmenu->add(DOL_URL_ROOT."/compta/ventilation/index.php?leftmenu=ventil",$langs->trans("Dispatch"),0,$user->rights->compta->ventilation->lire);
|
||||
if ($leftmenu=="ventil") $newmenu->add(DOL_URL_ROOT."/compta/ventilation/liste.php",$langs->trans("ToDispatch"),1,$user->rights->compta->ventilation->lire);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user