Edit Move Table Pdf

This commit is contained in:
San Wai Lwin
2018-04-10 18:18:08 +06:30
parent 85b0378b6b
commit 41d897d5c2

View File

@@ -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