Fix: Le test de chargement du module fournisseur est conf->fournisseur->enabled et non conf->fourn->enabled
This commit is contained in:
parent
a997cc8c73
commit
933f6fb265
@ -47,7 +47,7 @@ function llxHeader($head = "", $title="", $help_url='') {
|
||||
$menu->add(DOL_URL_ROOT."/compta/dons/","Dons");
|
||||
}
|
||||
|
||||
if ($conf->don->enabled)
|
||||
if ($conf->facture->enabled)
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/compta/facture.php","Factures");
|
||||
$menu->add_submenu(DOL_URL_ROOT."/compta/facture/fiche-rec.php","Récurrentes");
|
||||
|
||||
@ -74,7 +74,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
|
||||
// Les dépenses
|
||||
if ($conf->fourn->enabled)
|
||||
if ($conf->fournisseur->enabled)
|
||||
{
|
||||
$langs->load("suppliers");
|
||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||
@ -89,6 +89,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/compta/tva/index.php",$langs->trans("VAT"));
|
||||
}
|
||||
|
||||
if ($conf->compta->enabled)
|
||||
{
|
||||
$menu->add(DOL_URL_ROOT."/compta/charges/index.php","Charges");
|
||||
|
||||
@ -72,7 +72,7 @@ function llxHeader($head = "", $title="", $help_url='')
|
||||
|
||||
|
||||
// Les dépenses
|
||||
if ($conf->fourn->enabled)
|
||||
if ($conf->fournisseur->enabled)
|
||||
{
|
||||
$langs->load("suppliers");
|
||||
$menu->add(DOL_URL_ROOT."/fourn/index.php", $langs->trans("Suppliers"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user