Skip to content
Snippets Groups Projects
Commit 900f229b authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: L'option FACTURE_DISABLE_RECUR ne fonctionnait pas dans le gestionnaire de menu eldy

parent a0011504
Branches
Tags
No related merge requests found
...@@ -278,7 +278,7 @@ class MenuLeft { ...@@ -278,7 +278,7 @@ class MenuLeft {
{ {
if ($leftmenu=="customers_bills") $newmenu->add_submenu(DOL_URL_ROOT."/compta/clients.php?action=facturer",$langs->trans("NewBill"),2,$user->rights->facture->creer); if ($leftmenu=="customers_bills") $newmenu->add_submenu(DOL_URL_ROOT."/compta/clients.php?action=facturer",$langs->trans("NewBill"),2,$user->rights->facture->creer);
} }
if (! defined(FACTURE_DISABLE_RECUR) || ! FACTURE_DISABLE_RECUR) if (! defined("FACTURE_DISABLE_RECUR") || ! FACTURE_DISABLE_RECUR)
{ {
if ($leftmenu=="customers_bills") $newmenu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Rcurrentes",2,$user->rights->facture->lire); if ($leftmenu=="customers_bills") $newmenu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Rcurrentes",2,$user->rights->facture->lire);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment