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