From 060d2df3ea984878c7513514b248811a1200445a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 4 Sep 2010 17:12:09 +0000 Subject: [PATCH] Fix: Can send supplier order by mail at everystep after "approved". --- htdocs/fourn/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index a8ffa2a2c5c..2db7f2043e4 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -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) {