Fix phpcs
This commit is contained in:
parent
cfcac7e053
commit
e0e4da481a
@ -299,7 +299,7 @@ class InterfaceWorkflowManager extends DolibarrTriggers
|
|||||||
//Build array of quantity ordered by product
|
//Build array of quantity ordered by product
|
||||||
if (is_array($order->lines) && count($order->lines)>0) {
|
if (is_array($order->lines) && count($order->lines)>0) {
|
||||||
foreach($order->lines as $orderline) {
|
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;
|
$qtyordred[$orderline->fk_product]+=$orderline->qty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user