Fixing style errors.

This commit is contained in:
stickler-ci 2022-12-14 08:37:30 +00:00
parent 92bff0fcfb
commit b597a43b21

View File

@ -1073,7 +1073,7 @@ class BOM extends CommonObject
if ($res>0) {
$bom_child->calculateCosts();
$line->childBom[] = $bom_child;
$line->total_cost = price2num( $bom_child->total_cost * $line->qty, 'MT');
$line->total_cost = price2num($bom_child->total_cost * $line->qty, 'MT');
$this->total_cost += $line->total_cost;
} else {
$this->error = $bom_child->error;