Commit 7bc030f6 authored by mr.amirka's avatar mr.amirka

fixed discount

parent 26d6770f
......@@ -407,7 +407,8 @@ if (
);
if ($payment_discount_percent > 0) {
$payment_discount_amount = round(($amount - $shipping_amount) * $payment_discount_percent * 0.01, 2);
// $payment_discount_amount = round(($amount - $shipping_amount) * $payment_discount_percent * 0.01, 2);
$payment_discount_amount = floor(($amount - $shipping_amount) * $payment_discount_percent * 0.01, 2);
$payment_amount = $amount - $payment_discount_amount;
$lunu_wallet_discount = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment