fix timezone - time with local timezone to default timezone
This commit is contained in:
@@ -62,7 +62,7 @@ class Origami::SplitBillController < BaseOrigamiController
|
||||
split_orders = []
|
||||
new_order = nil
|
||||
|
||||
booking = Booking.create({:dining_facility_id => table.id, :type => type, :checkin_at => Time.now.utc, :checkin_by => current_user.name, :booking_status => "assign" })
|
||||
booking = Booking.create({:dining_facility_id => table.id, :type => type, :checkin_at => Time.current, :checkin_by => current_user.name, :booking_status => "assign" })
|
||||
|
||||
if orders.present?
|
||||
split_orders += orders.map { |x| x["id"] }
|
||||
|
||||
Reference in New Issue
Block a user