Merge pull request #216 from lovenunu/master

Fix Coupon RemoveXPercent missing round
This commit is contained in:
Manuel Raynaud
2014-02-12 09:20:02 +01:00

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);
}
/**