Merge remote-tracking branch 'origin/master'

This commit is contained in:
Dasc3er 2020-09-04 14:25:31 +02:00
commit 90fa7921a6
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ foreach ($articoli as $elenco) {
WHERE or_ordini.id != '.prepare($ordine->id).'
AND idstatoordine = (SELECT id FROM or_statiordine WHERE descrizione = 'Bozza')
AND idtipoordine IN (SELECT id FROM or_tipiordine WHERE dir = 'entrata')
AND idarticolo=".prepare($articolo->id)."
GROUP BY idarticolo")['qta'];
$qta_impegnata = floatval($qta_impegnata);