order fix for booking
This commit is contained in:
@@ -32,7 +32,7 @@ class Order < ApplicationRecord
|
||||
table = DiningFacility.find(self.table_id)
|
||||
table.status = "occupied"
|
||||
table.save
|
||||
else
|
||||
else
|
||||
booking = Booking.find(self.booking_id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user