rabin 3 jaren geleden
bovenliggende
commit
d32b7ebcbb
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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']) {