diff --git a/src/classes/Version/Version177.php b/src/classes/Version/Version177.php index 7e36357c..8c6b76d8 100644 --- a/src/classes/Version/Version177.php +++ b/src/classes/Version/Version177.php @@ -121,6 +121,9 @@ public function updateOrderDetail( $orderDetail->product_quantity_return += $quantityRefunded; $orderDetail->product_quantity_reinjected += $quantityRefunded; + $orderDetail->total_refunded_tax_incl = round($orderDetail->total_refunded_tax_incl, 2); + $orderDetail->total_refunded_tax_excl = round($orderDetail->total_refunded_tax_excl, 2); + $orderDetail->update(); }