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