diff --git a/app/admin/models/Reservations_model.php b/app/admin/models/Reservations_model.php index b769a95b5a..7712ffac4f 100644 --- a/app/admin/models/Reservations_model.php +++ b/app/admin/models/Reservations_model.php @@ -472,7 +472,8 @@ public function getNextBookableTable() ->with(['dining_section']) ->withCount(['reservations' => function ($query) { $query->where('reserve_date', $this->reserve_date) - ->where('status_id', setting('confirmed_reservation_status')); + ->whereNotIn('status_id', [0, setting('canceled_reservation_status')]) + ->orWhereNull('status_id'); }]) ->reservable([ 'locationId' => $this->location_id,