From e0f93aae56db083f9012ef6d44b179d70d1f980c Mon Sep 17 00:00:00 2001 From: Prashant Singh Date: Tue, 18 Jun 2019 19:14:49 +0530 Subject: [PATCH] Fixed issue in cart rule actions --- packages/Webkul/Discount/src/Actions/PercentOfProduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Discount/src/Actions/PercentOfProduct.php b/packages/Webkul/Discount/src/Actions/PercentOfProduct.php index e82f6d97f..fed6c73c8 100644 --- a/packages/Webkul/Discount/src/Actions/PercentOfProduct.php +++ b/packages/Webkul/Discount/src/Actions/PercentOfProduct.php @@ -28,7 +28,7 @@ class PercentOfProduct extends Action } $report['discount'] = $amountDiscounted; - $report['formatted_discount'] = core()->formatPrice($amountDiscounted); + $report['formatted_discount'] = core()->currency($amountDiscounted); return $report; }