Skip to content
Snippets Groups Projects
Commit cf474fb2 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Remove draft from list of invoice to process

parent 2f35ae22
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,10 @@
*/
/**
\file htdocs/commande/liste.php
\ingroup commande
\brief Page liste des commandes
\version $Id$
* \file htdocs/commande/liste.php
* \ingroup commande
* \brief Page to list orders
* \version $Id$
*/
......@@ -93,16 +93,16 @@ if ($viewstatut <> '')
$sql.= ' AND c.fk_statut ='.$viewstatut; // brouillon, validee, en cours, annulee
if ($viewstatut == 3)
{
$sql.= ' AND c.facture = 0'; // a facturer
$sql.= ' AND c.facture = 0'; // need to create invoice
}
}
if ($viewstatut == 4)
{
$sql.= ' AND c.facture = 1'; // factur�e
$sql.= ' AND c.facture = 1'; // invoice created
}
if ($viewstatut == -2)
if ($viewstatut == -2) // To process
{
$sql .= ' AND c.fk_statut >= 0 and c.fk_statut <= 3 and c.facture = 0';
$sql .= ' AND c.fk_statut > 0 and c.fk_statut <= 3 and c.facture = 0';
}
}
if ($_GET['month'] > 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment