Fixed: Calculation wrong when round type set to round total
This commit is contained in:
committed by
vishalsingh.qlo325
parent
66f207898b
commit
9d850722e0
@@ -3817,7 +3817,7 @@ exit;
|
||||
}
|
||||
switch ($roundType) {
|
||||
case Order::ROUND_TOTAL:
|
||||
$value = $value;
|
||||
$value = $value * $qty;
|
||||
break;
|
||||
case Order::ROUND_LINE:
|
||||
$value = Tools::ps_round(($value * $qty), _PS_PRICE_COMPUTE_PRECISION_, $roundMode);
|
||||
|
||||
Reference in New Issue
Block a user