diff --git a/app/controllers/origami/home_controller.rb b/app/controllers/origami/home_controller.rb index 2f1cba36..d7a0ea49 100755 --- a/app/controllers/origami/home_controller.rb +++ b/app/controllers/origami/home_controller.rb @@ -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')