Fix bug.
This commit is contained in:
parent
e93d34d597
commit
28ef7b0ae0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue