This commit is contained in:
BoHung Chiu 2022-02-16 10:10:27 +08:00
parent e93d34d597
commit 28ef7b0ae0
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ class Property
end end
if available if available
recurring_bookings = phires.where(:recurring_end_date.gte => stime, :recurring => true,:id.ne=>phire_id) recurring_bookings = phires.where(:recurring_end_date.gte => stime, :recurring => true,:id.ne=>phire_id)
bookings = phires.where(:recurring => false,:recurring_end_date => nil) bookings = phires.where(:recurring => false,:recurring_end_date => nil,:id.ne=>phire_id)
case interval case interval
when 'week' when 'week'
d_step = 1.week d_step = 1.week