= преди 3 години
родител
ревизия
6470157f16
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      app/Http/Controllers/PracticeManagementController.php

+ 2 - 2
app/Http/Controllers/PracticeManagementController.php

@@ -106,8 +106,8 @@ class PracticeManagementController extends Controller
             
         }
 
-        $rows->whereDoesntHave('client', function($clientQuery){
-            return $clientQuery->where('client_engagement_status_category', 'DUMMY');
+        $rows->whereHas('client', function($clientQuery){
+            return $clientQuery->where('client_engagement_status_category','<>' ,'DUMMY');
         });