Эх сурвалжийг харах

fixed get upcoming appointments

Josh 4 жил өмнө
parent
commit
cc02eea8c6
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      app/Models/Client.php

+ 1 - 1
app/Models/Client.php

@@ -108,7 +108,7 @@ class Client extends Model
 
     public function upcomingAppointments() {
         return $this->hasMany(Appointment::class, 'client_id', 'id')
-            ->where('raw_start_time', '>', date('Y-m-d H:i:s'))
+          //  ->where('raw_start_time', '>', date('Y-m-d H:i:s'))
             ->orderBy('start_time', 'desc');
     }