update customer view and order add column table and orderby
This commit is contained in:
@@ -34,7 +34,7 @@ class Transactions::OrdersController < ApplicationController
|
||||
def show
|
||||
|
||||
@order = Order.find(params[:id])
|
||||
|
||||
@dining = BookingOrder.find_by_order_id(@order.order_id).booking.dining_facility
|
||||
respond_to do |format|
|
||||
format.html # show.html.erb
|
||||
format.json { render json: @order }
|
||||
|
||||
Reference in New Issue
Block a user