Skip to content
Code-Schnipsel Gruppen Projekte
Commit a4946bb2 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: quiqqer/order#118

Übergeordneter ecbd4f4b
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
...@@ -112,6 +112,10 @@ public function __construct(array $attributes = []) ...@@ -112,6 +112,10 @@ public function __construct(array $attributes = [])
} }
parent::__construct($attributes); parent::__construct($attributes);
if (!empty($this->calculations)) {
$this->calculated = true;
}
} }
/** /**
......
...@@ -97,7 +97,6 @@ public function __construct($attributes = []) ...@@ -97,7 +97,6 @@ public function __construct($attributes = [])
$this->calculations = $attributes['calculations']; $this->calculations = $attributes['calculations'];
$this->showHeader = isset($attributes['showHeader']) ? $attributes['showHeader'] : true; $this->showHeader = isset($attributes['showHeader']) ? $attributes['showHeader'] : true;
// price factors // price factors
$this->PriceFactors = new ErpFactorList(); $this->PriceFactors = new ErpFactorList();
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren