Fixing style errors.
This commit is contained in:
parent
92bff0fcfb
commit
b597a43b21
@ -1073,7 +1073,7 @@ class BOM extends CommonObject
|
|||||||
if ($res>0) {
|
if ($res>0) {
|
||||||
$bom_child->calculateCosts();
|
$bom_child->calculateCosts();
|
||||||
$line->childBom[] = $bom_child;
|
$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;
|
$this->total_cost += $line->total_cost;
|
||||||
} else {
|
} else {
|
||||||
$this->error = $bom_child->error;
|
$this->error = $bom_child->error;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user