table status color
This commit is contained in:
@@ -88,7 +88,11 @@ class DiningFacility < ApplicationRecord
|
||||
checkout_at_min -= min
|
||||
if (checkout_at_hr <= hr) && (checkout_at_min <= 15)
|
||||
return booking
|
||||
else
|
||||
return nil
|
||||
end
|
||||
else
|
||||
return nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user