fix modifie order
This commit is contained in:
@@ -121,12 +121,12 @@ class Foodcourt::OrdersController < BaseFoodcourtController
|
|||||||
end
|
end
|
||||||
|
|
||||||
# byebug
|
# byebug
|
||||||
|
|
||||||
@sale_id = @booking.sale_id
|
@sale_id = @booking.sale_id
|
||||||
|
|
||||||
if @booking
|
if @booking
|
||||||
@booking_id = @booking.booking_id
|
@booking_id = @booking.booking_id
|
||||||
@obj_order = @booking.orders.first
|
@obj_order = @booking.orders.first
|
||||||
|
@order_id = @obj_order.order_id
|
||||||
@customer = @obj_order.customer
|
@customer = @obj_order.customer
|
||||||
@date = @obj_order.created_at
|
@date = @obj_order.created_at
|
||||||
@order_items = @booking.order_items
|
@order_items = @booking.order_items
|
||||||
|
|||||||
Reference in New Issue
Block a user