remive check for booking checkout
This commit is contained in:
@@ -165,7 +165,7 @@ class Sale < ApplicationRecord
|
||||
|
||||
booking.sale_id = self.id
|
||||
if !booking.checkout_at.nil?
|
||||
if Time.parse(booking.checkout_at).utc < Time.now.utc
|
||||
if booking.checkout_at.utc < Time.now.utc
|
||||
booking.checkout_at = Time.now.utc.getlocal
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user