Forráskód Böngészése

Dashboard appts - don't show cancelled

Vijayakrishnan 3 éve
szülő
commit
6969b1fd96
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      app/Http/Controllers/HomeController.php

+ 1 - 0
app/Http/Controllers/HomeController.php

@@ -1045,6 +1045,7 @@ WHERE measurement.label NOT IN ('SBP', 'DBP')
         }
 
         $appointments = $appointments
+            ->whereRaw('status NOT IN (\'CANCELLED\', \'COMPLETED\')')
             ->orderBy('start_time', 'asc')
             ->get();