Fix: Le menu commande fournisseur n'apparaissait pas toujours
This commit is contained in:
parent
4a2badd064
commit
42d497b886
@ -624,7 +624,7 @@ class MenuLeft {
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/fourn/facture/paiement.php", $langs->trans("Payments"), 1, $user->rights->fournisseur->facture->lire);
|
||||
}
|
||||
|
||||
if ($conf->commande->enabled)
|
||||
if ($conf->fournisseur->enabled)
|
||||
{
|
||||
$langs->load("orders");
|
||||
$newmenu->add(DOL_URL_ROOT."/fourn/commande/index.php?leftmenu=suppliers",$langs->trans("Orders"), 0, $user->rights->fournisseur->commande->lire);
|
||||
|
||||
@ -639,7 +639,7 @@ class MenuLeft {
|
||||
$newmenu->add_submenu(DOL_URL_ROOT."/fourn/facture/paiement.php", $langs->trans("Payments"), 1, $user->rights->fournisseur->facture->lire);
|
||||
}
|
||||
|
||||
if ($conf->commande->enabled)
|
||||
if ($conf->fournisseur->enabled)
|
||||
{
|
||||
$langs->load("orders");
|
||||
$newmenu->add(DOL_URL_ROOT."/fourn/commande/index.php?leftmenu=suppliers",$langs->trans("Orders"), 0, $user->rights->fournisseur->commande->lire);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user