2
0
forked from Wavyzz/dolibarr

Update interface_20_modWorkflow_WorkflowManager.class.php

This commit is contained in:
Laurent Destailleur
2020-10-22 16:18:00 +02:00
committed by GitHub
parent c2ad40043f
commit a9117fe864

View File

@@ -299,7 +299,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
//Build array of quantity ordered by product
if (is_array($order->lines) && count($order->lines)>0) {
foreach($order->lines as $orderline) {
if(empty($conf->global->STOCK_SUPPORTS_SERVICES) && $orderline->product_type > 0) continue;
if (empty($conf->global->STOCK_SUPPORTS_SERVICES) && $orderline->product_type > 0) continue;
$qtyordred[$orderline->fk_product]+=$orderline->qty;
}
}