1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-14 10:30:51 +01:00

Fix stampa inventario

This commit is contained in:
valentina 2024-07-16 16:47:34 +02:00
parent 8582e89de5
commit a74d4ca02d

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);