dever преди 3 години
родител
ревизия
9674ed95db
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/shop/lib/Refund.php

+ 2 - 0
app/shop/lib/Refund.php

@@ -173,6 +173,8 @@ class Refund
                 }
             }
 
+            $cash = round($cash, 2);
+
             if ($cash >= 0) {
                 $log = $this->up($data['id'], $order_goods_id, $status, $cash, $p_cash, $num, $desc, $pic, $process);