add pickup_time for order reservation
This commit is contained in:
@@ -57,6 +57,9 @@ class OrderReservation < ApplicationRecord
|
||||
order_reservation.order_reservation_type = order_reserve[:order_type]
|
||||
order_reservation.customer_id = order_reserve[:cus_info]
|
||||
order_reservation.requested_time = Time.zone.parse(order_reserve[:requested_time]).utc
|
||||
if order_reserve[:pickup_time]
|
||||
order_reservation.pickup_time = Time.zone.parse(order_reserve[:pickup_time]).utc
|
||||
end
|
||||
order_reservation.callback_url = order_reserve[:callback_url]
|
||||
order_reservation.transaction_ref = order_reserve[:reference]
|
||||
if order_reserve[:order_info]
|
||||
|
||||
Reference in New Issue
Block a user