some changes for order reservation
This commit is contained in:
@@ -96,4 +96,9 @@ class Origami::OrderReservationController < BaseOrigamiController
|
||||
render :json => response
|
||||
end
|
||||
|
||||
def get_order_info
|
||||
order_reservation = OrderReservation.where("status = 'new' OR status='accepted' OR status='send_to_kitchen' OR status = 'ready_to_delivery'").count()
|
||||
render :json => order_reservation
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user