Skip to content
Snippets Groups Projects
Commit 1746f8f9 authored by Alexis Algoud's avatar Alexis Algoud
Browse files

FIX search on date into supplier invoice list dont work because of status -1

parent 25810ddf
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@ if ($search_amount_all_tax != '')
$sql .= natural_search('fac.total_ttc', $search_amount_all_tax, 1);
}
if ($search_status != '')
if ($search_status != '' && $search_status>=0)
{
$sql.= " AND fac.fk_statut = ".$search_status;
}
......
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