From bcb06d5c909664e6195acc395bddb23357ba0824 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Mon, 5 Jul 2021 07:40:44 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/commande/list.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 3acae2f8180..8971d942de6 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -513,12 +513,9 @@ if ($search_status <> '') { //$sql.= ' AND c.facture = 0'; // invoice not created $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) // To bill - { - + if ($search_status == -4) { // To bill $sql .= ' AND (c.fk_statut IN (1,2))'; // validated, in process } - } if ($search_datecloture_start) {