update add order and calculate subtotal

This commit is contained in:
Aung Myo
2017-08-17 13:51:01 +06:30
parent d4d8961b87
commit 7f2bfa2348
4 changed files with 64 additions and 36 deletions

View File

@@ -13,9 +13,7 @@ class Api::Restaurant::MenuCategoriesController < Api::ApiController
# This API show current order details
# Input Params - menu_id
def show
puts "SSSSSSSSSSSSS"
@menu = menu_detail(params[:id])
puts @menu.to_json
end