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

refactor: code style

Übergeordneter 70d9b885
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -231,6 +231,7 @@ public function toHTML($template = false)
// price factors
$priceFactors = $this->PriceFactors->sort();
$priceFactors = array_map(function ($Factor) {
/* @var $Factor QUI\ERP\Products\Utils\PriceFactor */
return $Factor->toArray();
}, $priceFactors);
......
......@@ -245,7 +245,6 @@ public function calcArticleList(ArticleList $List, $callback = false)
continue;
}
// add pricefactor VAT
if (!($PriceFactor instanceof QUI\ERP\Products\Interfaces\PriceFactorWithVatInterface)) {
continue;
......
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