update addorder available and max qty

This commit is contained in:
Aung Myo
2017-09-27 11:26:13 +06:30
parent dd9e8fe908
commit ddf466d3fe
6 changed files with 265 additions and 27 deletions

View File

@@ -9,7 +9,7 @@ class Origami::AddordersController < BaseOrigamiController
end
def detail
@menu = MenuCategory.all
@menu = MenuCategory.all.active
@table_id = params[:id]
@table = DiningFacility.find(@table_id)
@booking = @table.get_booking