fix error
This commit is contained in:
parent
b83b4e5633
commit
a8952495f4
|
@ -143,11 +143,6 @@ class Property
|
||||||
if (sdata <= b_sdata && edata >= b_sdata) || (sdata >= b_sdata && edata <= b_edata) || (sdata <= b_edata && edata >= b_edata)
|
if (sdata <= b_sdata && edata >= b_sdata) || (sdata >= b_sdata && edata <= b_edata) || (sdata <= b_edata && edata >= b_edata)
|
||||||
available = false
|
available = false
|
||||||
end
|
end
|
||||||
if !b_interval.blank?
|
|
||||||
puts '-------------'
|
|
||||||
puts booking.inspect
|
|
||||||
puts ['sdata',sdata,'b_sdata',b_sdata,'edata',edata,'b_edata',b_edata]
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
stime_tp = stime_tp + d_step
|
stime_tp = stime_tp + d_step
|
||||||
etime_tp = etime_tp + d_step
|
etime_tp = etime_tp + d_step
|
||||||
|
|
Loading…
Reference in New Issue