table status color

This commit is contained in:
Yan
2017-12-07 17:04:55 +06:30
parent 94c2086152
commit daf3554826
4 changed files with 13 additions and 29 deletions

View File

@@ -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