fix origami table no booking
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user