update addorder modefined

This commit is contained in:
Aung Myo
2017-09-13 12:27:37 +06:30
parent bbcce13a2e
commit abde6745a4
6 changed files with 233 additions and 65 deletions

View File

@@ -30,10 +30,19 @@ class Origami::AddordersController < BaseOrigamiController
else
@booking = nil
end
end
def get_menu_category ()
if (params[:id])
#Pull this menu
@menu = MenuCategory.find_by_id(params[:id])
return @menu
else
MenuCategory.current_menu
end
end
def create
Rails.logger.debug "Order Source - " + params[:order_source].to_s
Rails.logger.debug "Table ID - " + params[:table_id].to_s