Ken hace 2 semanas
padre
commit
defce95c3e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Http/Controllers/admin/Balance.php

+ 2 - 2
app/Http/Controllers/admin/Balance.php

@@ -58,8 +58,8 @@ class Balance extends Controller
             $data['data'] = $query->orderByDesc('id')
                 ->forPage($page, $limit)->with(['member'])
                 ->get()->toArray();
-            $data['change_types'] = BalanceLog::select('change_types')
-                ->groupBy('change_types')
+            $data['change_types'] = BalanceLog::select('change_type')
+                ->groupBy('change_type')
                 ->get();