Merge branch 'adminbsb_material_ui' of bitbucket.org:code2lab/sxrestaurant
This commit is contained in:
@@ -142,4 +142,11 @@ class DiningFacility < ApplicationRecord
|
||||
end
|
||||
return arr_booking
|
||||
end
|
||||
|
||||
#send order items and send to order queue
|
||||
def self.check_in_booking(table_id)
|
||||
table = DiningFacility.find(table_id)
|
||||
#Send to background job for processing
|
||||
CheckInBookingJob.perform_later(table)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user