Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
phyusin
2018-09-24 15:44:58 +06:30
11 changed files with 57 additions and 7 deletions

View File

@@ -80,6 +80,17 @@ class Origami::DashboardController < BaseOrigamiController
end
end
end
#reservation
reservation = Lookup.collection_of('reservation')
@reservation = 0
if !reservation.empty?
reservation.each do |reserve|
if reserve[0] == 'Reservation'
@reservation = reserve[1]
end
end
end
end
def get_all_menu

View File

@@ -0,0 +1,6 @@
class Origami::ReservationController < BaseOrigamiController
def index
end
end