From b137d45be3131a3b9a3912b84c22cff65991a0f5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 15 Jan 2009 00:49:43 +0000 Subject: [PATCH] Disable an old feature not working for everybody. --- htdocs/includes/menus/barre_left/eldy_backoffice.php | 2 +- htdocs/includes/menus/barre_left/eldy_frontoffice.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/menus/barre_left/eldy_backoffice.php b/htdocs/includes/menus/barre_left/eldy_backoffice.php index fff40dc2e38..aba4325405f 100644 --- a/htdocs/includes/menus/barre_left/eldy_backoffice.php +++ b/htdocs/includes/menus/barre_left/eldy_backoffice.php @@ -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); diff --git a/htdocs/includes/menus/barre_left/eldy_frontoffice.php b/htdocs/includes/menus/barre_left/eldy_frontoffice.php index 4dbc2dc4d9b..95773c38c10 100644 --- a/htdocs/includes/menus/barre_left/eldy_frontoffice.php +++ b/htdocs/includes/menus/barre_left/eldy_frontoffice.php @@ -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);