Fix stampa inventario
This commit is contained in:
parent
8582e89de5
commit
a74d4ca02d
|
@ -58,7 +58,7 @@ if (post('acquisto') == 'standard') {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (post('tipo') == 'nozero') {
|
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);
|
$data = Query::executeAndCount($query);
|
||||||
|
|
Loading…
Reference in New Issue