|
|
|
|
|
|
|
|
public function getPriceByRefUnitWithTaxAndReduction(ProductPropertyInterface $product) |
|
|
public function getPriceByRefUnitWithTaxAndReduction(ProductPropertyInterface $product) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
return $this->applyReductionCatalog( |
|
|
|
|
|
|
|
|
return ($this->getPriceByRefUnitWithTax($product) * $this->getPriceWithTaxAndReduction($product)) |
|
|
|
|
|
/ $this->getPriceWithTax($product) ; |
|
|
|
|
|
|
|
|
|
|
|
/*return $this->applyReductionCatalog( |
|
|
$product, |
|
|
$product, |
|
|
$this->getPriceByRefUnit($product), |
|
|
$this->getPriceByRefUnit($product), |
|
|
$this->getPriceByRefUnitWithTax($product) |
|
|
$this->getPriceByRefUnitWithTax($product) |
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
);*/ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|