Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
90fa7921a6
|
@ -40,6 +40,7 @@ foreach ($articoli as $elenco) {
|
||||||
WHERE or_ordini.id != '.prepare($ordine->id).'
|
WHERE or_ordini.id != '.prepare($ordine->id).'
|
||||||
AND idstatoordine = (SELECT id FROM or_statiordine WHERE descrizione = 'Bozza')
|
AND idstatoordine = (SELECT id FROM or_statiordine WHERE descrizione = 'Bozza')
|
||||||
AND idtipoordine IN (SELECT id FROM or_tipiordine WHERE dir = 'entrata')
|
AND idtipoordine IN (SELECT id FROM or_tipiordine WHERE dir = 'entrata')
|
||||||
|
AND idarticolo=".prepare($articolo->id)."
|
||||||
GROUP BY idarticolo")['qta'];
|
GROUP BY idarticolo")['qta'];
|
||||||
$qta_impegnata = floatval($qta_impegnata);
|
$qta_impegnata = floatval($qta_impegnata);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue