Ken 5 giorni fa
parent
commit
b56956d26d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/Models/Rebate.php

+ 1 - 0
app/Models/Rebate.php

@@ -27,6 +27,7 @@ class Rebate extends Authenticatable
             ->where('member_id', $data['member_id'])->first();
         if ($rebate) {
             $rebate->rebate_ratio = $data['rebate_ratio'];
+            $rebate->save();
             $rebate->increment("betting_amount", $data['betting_amount']);
 
         } else {