comment order
This commit is contained in:
@@ -19,13 +19,14 @@ class Origami::VoidController < BaseOrigamiController
|
|||||||
sale.sale_status = 'void'
|
sale.sale_status = 'void'
|
||||||
sale.save
|
sale.save
|
||||||
|
|
||||||
bookings = sale.bookings
|
# No Need
|
||||||
bookings.each do |booking|
|
# bookings = sale.bookings
|
||||||
orders = booking.orders
|
# bookings.each do |booking|
|
||||||
orders.each do |order|
|
# orders = booking.orders
|
||||||
# order.status = 'void'
|
# orders.each do |order|
|
||||||
end
|
# # order.status = 'void'
|
||||||
end
|
# end
|
||||||
|
# end
|
||||||
|
|
||||||
table_avaliable = true
|
table_avaliable = true
|
||||||
table = sale.bookings[0].dining_facility
|
table = sale.bookings[0].dining_facility
|
||||||
|
|||||||
Reference in New Issue
Block a user