Skip to content

Commit 4100121

Browse files
fix: remove invalid invoice type check from supplier order stats (#38979)
1 parent 65c54a0 commit 4100121

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

htdocs/product/stock/stats/commande_fournisseur.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,6 @@
328328
while ($i < min($num, $limit)) {
329329
$objp = $db->fetch_object($result);
330330

331-
if ($objp->type == Facture::TYPE_CREDIT_NOTE) {
332-
$objp->qty = -($objp->qty);
333-
}
334-
335331
// $total_ht_pondere += $objp->total_ht_pondere;
336332
$total_qty += $objp->qty;
337333

0 commit comments

Comments
 (0)