} | } | ||||
return $arrayComplementaryOrderShops; | return $arrayComplementaryOrderShops; | ||||
} | } | ||||
public function countValidComplementaryOrderShops(OrderShopInterface $orderShop): int | public function countValidComplementaryOrderShops(OrderShopInterface $orderShop): int | ||||
{ | { | ||||
return count($this->getValidComplementaryOrderShops($orderShop)); | return count($this->getValidComplementaryOrderShops($orderShop)); |
return $price; | return $price; | ||||
} | } | ||||
public function excludeTax($price, $taxRateValue, $round = true) | |||||
{ | |||||
$price = $this->applyPercentNegative($price, $taxRateValue); | |||||
if($round) { | |||||
return $this->round($price); | |||||
} | |||||
return $price; | |||||
} | |||||
public function applyReductionPercent($price, $percentage) | public function applyReductionPercent($price, $percentage) | ||||
{ | { | ||||
return $this->applyPercent($price, -$percentage); | return $this->applyPercent($price, -$percentage); |