Merge pull request #5102 from atm-alexis/3.8
FIX search on date into supplier invoice list
This commit is contained in:
commit
b94295e4ca
@ -207,7 +207,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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user