Fix: Can send supplier order by mail at everystep after "approved".

This commit is contained in:
Laurent Destailleur 2010-09-04 17:12:09 +00:00
parent 57f28bc11e
commit 060d2df3ea

View File

@ -1263,7 +1263,7 @@ if ($id > 0 || ! empty($ref))
}
// Send
if ($commande->statut == 2)
if (in_array($commande->statut,array(2,3,4,5)))
{
if ($user->rights->fournisseur->commande->commander)
{