Fixing style errors.

This commit is contained in:
stickler-ci 2022-11-25 23:24:17 +00:00
parent 9852d470ec
commit ebae1c024f

View File

@ -179,7 +179,7 @@ function ordersupplier_prepare_head(CommandeFournisseur $object)
}
for ($line = 0 ; $line < $nbLinesOrdered; $line++) {
//If line is a product of conf to manage stocks for services
if($object->lines[$line]->product_type == 0 || !empty($conf->global->STOCK_SUPPORTS_SERVICES)){
if ($object->lines[$line]->product_type == 0 || !empty($conf->global->STOCK_SUPPORTS_SERVICES)) {
$sumQtyOrdered = $sumQtyOrdered + $object->lines[$line]->qty;
}
}