Ken hace 5 días
padre
commit
b56956d26d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 {