diff --git a/app/controllers/origami/movetable_controller.rb b/app/controllers/origami/movetable_controller.rb index 3844293e..a92956e6 100755 --- a/app/controllers/origami/movetable_controller.rb +++ b/app/controllers/origami/movetable_controller.rb @@ -71,9 +71,11 @@ class Origami::MovetableController < BaseOrigamiController booking.booking_orders.each do |booking_order| order = Order.find(booking_order.order_id) - order.order_items.each do |order_item| - order_items.push(order_item) - end + if order.status == 'new' + order.order_items.each do |order_item| + order_items.push(order_item) + end + end end end end