Fix Coupon RemoveXPercent missing round

modified:   core/lib/Thelia/Coupon/Type/RemoveXPercent.php
This commit is contained in:
Benjamin Perche
2014-02-12 09:11:28 +01:00
parent af90ac19ce
commit 32b59f8189

View File

@@ -106,7 +106,7 @@ class RemoveXPercent extends CouponAbstract
$basePrice = $this->facade->getCartTotalPrice();
return $basePrice * (( $this->percentage ) / 100);
return round($basePrice * $this->percentage/100, 2);
}
/**