2
0
forked from Wavyzz/dolibarr

Correction bug #13938

This commit is contained in:
Rodolphe Quiedeville
2005-08-01 12:47:45 +00:00
parent 531b54420b
commit a7d56bbd42
4 changed files with 16 additions and 6 deletions

View File

@@ -21,10 +21,10 @@
*
*/
/** \file htdocs/commande/liste.php
\ingroup commande
\brief Page liste des commandes
\version $Revision$
/** \file htdocs/commande/liste.php
\ingroup commande
\brief Page liste des commandes
\version $Revision$
*/
@@ -80,6 +80,11 @@ if (isset($_GET["status"]))
$sql .= " AND fk_statut = ".$_GET["status"];
}
if (isset($_GET["afacturer"]))
{
$sql .= " AND c.facture = 0";
}
if (strlen($_POST["sf_ref"]) > 0)
{
$sql .= " AND c.ref like '%".$_POST["sf_ref"] . "%'";