diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php
index da3c908e52b..2b170c96a31 100644
--- a/htdocs/compta/index.php
+++ b/htdocs/compta/index.php
@@ -209,7 +209,7 @@ print '
';
if ($user->comm > 0 && $conf->commercial )
{
$sql = "SELECT p.rowid, p.ref, s.nom, s.idp FROM llx_commande as p, llx_societe as s";
- $sql .= " WHERE p.fk_soc = s.idp AND p.fk_statut = 1 AND p.facture = 0";
+ $sql .= " WHERE p.fk_soc = s.idp AND p.fk_statut >= 1 AND p.facture = 0";
if ($socidp)
{
$sql .= " AND p.fk_soc = $socidp";
|