fix origami table no booking

This commit is contained in:
Thein Lin Kyaw
2020-09-05 18:34:54 +06:30
parent febb398605
commit cf86fcc248

View File

@@ -58,7 +58,7 @@ class Origami::HomeController < BaseOrigamiController
if @obj_sale
@status_order = 'sale'
else
elsif @obj_order
@status_order = 'order'
end
@@ -66,12 +66,6 @@ class Origami::HomeController < BaseOrigamiController
@account_arr = TaxProfile.find_by(id: @customer.tax_profiles)
end
# @dining.current_bookings.each do |booking|
# if @obj_sale || @booking.blank?
# @booking = booking
# end
# end
#for bank integration
@checkout_time = Lookup.collection_of('checkout_time')
@checkout_alert_time = Lookup.collection_of('checkout_alert_time')