diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 281aedb96c8..e704058f9b8 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -514,6 +514,7 @@ if ($search_status <> '') { $sql .= ' AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))'; // validated, in process or closed but not billed } + if ($search_status == -4) // "validate and in progress" { $sql .= ' AND (c.fk_statut IN (1,2))'; // validated, in process