Fix stampa inventario

This commit is contained in:
valentina 2024-07-16 16:47:34 +02:00
parent 8582e89de5
commit a74d4ca02d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ if (post('acquisto') == 'standard') {
}
if (post('tipo') == 'nozero') {
$query = str_replace('2=2', '2=2 AND `qta_totale` > 0', $query);
$query = str_replace('1=1 AND 1=1', '1=1 AND `qta_totale` > 0', $query);
}
$data = Query::executeAndCount($query);