@@ -50,6 +50,15 @@ class PriceUtils | |||
); | |||
} | |||
/*public function getPriceUnitWithTaxAndReduction($entity) | |||
{ | |||
if($entity instanceof ProductInterface) { | |||
return $this->getPriceWithTaxAndReduction($entity) / $entity->getQuantity() ; | |||
} | |||
return null ; | |||
}*/ | |||
public function getPriceByRefUnit($entity) | |||
{ | |||
if($entity instanceof ProductPropertyInterface) { |