Bugfix permissions barre d'actions
This commit is contained in:
parent
38342fd8bf
commit
a000f29baf
@ -275,7 +275,7 @@ if ( $societe->fetch($socid) )
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if ($user->fournisseur->commande->creer)
|
||||
if ($user->rights->fournisseur->commande->creer)
|
||||
{
|
||||
$langs->load("orders");
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/fourn/commande/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("AddOrder").'</a>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user