fix error
This commit is contained in:
parent
8342a17aca
commit
b8c0ff2bd5
|
@ -127,7 +127,9 @@ class Property
|
|||
edata = etime_tp
|
||||
end
|
||||
if (sdata <= b_sdata && edata >= b_sdata) || (sdata >= b_sdata && edata <= b_edata) || (sdata <= b_edata && edata >= b_edata)
|
||||
available = false
|
||||
if etime_tp > booking.start_time
|
||||
available = false
|
||||
end
|
||||
end
|
||||
stime_tp = stime_tp + d_step
|
||||
etime_tp = etime_tp + d_step
|
||||
|
|
Loading…
Reference in New Issue