Skip to content

Commit

Permalink
Fix filter on invoice status
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 6, 2018
1 parent 05ed721 commit ed6ec81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/facture/list.php
Expand Up @@ -442,7 +442,7 @@
if ($search_montant_ttc != '') $sql.= natural_search('f.total_ttc', $search_montant_ttc, 1);
if ($search_categ_cus > 0) $sql.= " AND cc.fk_categorie = ".$db->escape($search_categ_cus);
if ($search_categ_cus == -2) $sql.= " AND cc.fk_categorie IS NULL";
if ($search_status != '')
if ($search_status != '-1' && $search_status != '')
{
if (is_numeric($search_status) && $search_status >= 0)
{
Expand Down

0 comments on commit ed6ec81

Please sign in to comment.