Fixing style errors.

This commit is contained in:
stickler-ci 2020-03-30 08:25:57 +00:00
parent b0e7bd8a30
commit 3a349e6533

View File

@ -1006,7 +1006,8 @@ class BOM extends CommonObject
/** /**
* BOM costs calculation based on cost_price or pmp of each BOM line * BOM costs calculation based on cost_price or pmp of each BOM line
*/ */
public function calculateCosts() { public function calculateCosts()
{
include_once DOL_DOCUMENT_ROOT . '/product/class/product.class.php'; include_once DOL_DOCUMENT_ROOT . '/product/class/product.class.php';
$this->unit_cost = 0; $this->unit_cost = 0;
$this->total_cost = 0; $this->total_cost = 0;