update sale model
This commit is contained in:
@@ -118,6 +118,8 @@ class Sale < ApplicationRecord
|
||||
if booking.checkout_at < Time.now.utc.getlocal
|
||||
booking.checkout_at = Time.now.utc.getlocal
|
||||
end
|
||||
else
|
||||
booking.checkout_at = Time.now.utc.getlocal
|
||||
end
|
||||
|
||||
booking.checkout_by = requested_by.name
|
||||
|
||||
Reference in New Issue
Block a user