rabin 3 年 前
コミット
d32b7ebcbb
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/shop/lib/Refund.php

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

@@ -171,8 +171,8 @@ class Refund
                         }
                     }
 
-                    if (isset($info['record_cash']) && $info['record_cash']) {
-                        $info['total_price'] = $info['total_price'] - $info['record_cash'];
+                    if (isset($data['record_cash']) && $data['record_cash']) {
+                        $info['total_price'] = $info['total_price'] - $data['record_cash'];
                     }
 
                     if (isset($info['discount_cash']) && $info['discount_cash']) {