Fix: Removed duplicate button
This commit is contained in:
parent
3e2dd6affa
commit
a8fba4277f
@ -584,8 +584,8 @@ if ($id > 0 || ! empty($ref))
|
|||||||
{
|
{
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
// Bouton expedier sans gestion des stocks
|
// Bouton expedier sans gestion des stocks
|
||||||
if (! $conf->stock->enabled && ! $commande->brouillon)
|
if (! $conf->stock->enabled && ($commande->statut > 0 && $commande->statut < 3))
|
||||||
{
|
{
|
||||||
if ($user->rights->expedition->creer)
|
if ($user->rights->expedition->creer)
|
||||||
{
|
{
|
||||||
@ -604,8 +604,8 @@ if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Bouton expedier avec gestion des stocks
|
// Bouton expedier avec gestion des stocks
|
||||||
if ($commande->statut > 0 && $commande->statut < 3)
|
if ($conf->stock->enabled && ($commande->statut > 0 && $commande->statut < 3))
|
||||||
{
|
{
|
||||||
if ($user->rights->expedition->creer)
|
if ($user->rights->expedition->creer)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user